Occurs when a control's PopupContextMenu is about to appear.
[DXCategory("Events")] public event QueryShowPopupMenuEventHandler QueryShowPopupMenu
<DXCategory("Events")> Public Event QueryShowPopupMenu As QueryShowPopupMenuEventHandler
The QueryShowPopupMenu event's data class is QueryShowPopupMenuEventArgs. The following properties provide information specific to this event:
|BreakShowPopupMenu||Gets or sets whether or not the parent BarManager.QueryShowPopupMenu event should affect only the BarManager itself.|
|Cancel||Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.|
|Control||Gets a control whose popup menu is queried.|
|Menu||Gets the popup menu that is about to be displayed.|
|Position||Gets or sets the position of the queried menu popup.|
This event allows you to customize the menu assigned to a control's PopupContextMenu extender property. This property is automatically added at design time to all controls that have the same parent as the BarManager component. At runtime, the PopupContextMenu extender property can be set via the BarManager.SetPopupContextMenu method.
For more information, see the BarManager topic.