add_onShowContextMenu(function(sender, e)) onShowContextMenu.add(function(sender, e)) remove_onShowContextMenu(function(sender, e)) onShowContextMenu.remove(function(sender, e))
This event is fired when the ShowContextMenu method is called.
The framework does not contain a user interface for this, instead, the OnShowContextMenu event is fired and the application code most show the context menu.
Parameter | Type | Description |
---|---|---|
sender | 'var' | The source of the event. |
e | EventArgs | The event data. |