Occurs before a context menu is shown.
public event PopupMenuShowingEventHandler PopupMenuShowing
Public Event PopupMenuShowing As PopupMenuShowingEventHandler
The PopupMenuShowing event's data class is PopupMenuShowingEventArgs. The following properties provide information specific to this event:
|Location||Gets the point at which the popup menu is shown.|
|Menu||Gets the control’s context menu.|
The PopupMenuShowing event enables you to perform a custom action when a popup menu is shown, modify it or not display it.