'Declaration Public Event ContextMenuPopup As System.EventHandler(Of ContextMenuPopupEventArgs)
public event System.EventHandler<ContextMenuPopupEventArgs> ContextMenuPopup
Event Data
The event handler receives an argument of type ContextMenuPopupEventArgs containing data related to this event. The following ContextMenuPopupEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
Component | Gets the component for which the menu is shown. |
IsCustomMenu | Gets a value indicating whether this menu is custom. |
Location | Gets the upper-left or upper-right corner of the context menu in screen coordinates. |
UseCustomMenu | Gets or sets a value indicating to use a custom context menu instead of the standard. |
See Also