Icon OnContextMenu Event

property OnContextMenu: TContextMenuEvent

Available In: Visual Client Applications

This event is triggered when the browser needs to display a context menu for the control. With devices using a mouse, this will occur when the right mouse button is pressed. With devices using a touch interface, this will will occur when a long press occurs on the touch surface. Return True from the event handler to indicate that default browser context menu should be displayed, or False if you wish to use your own custom context menu that you will manually display.