Occurs before the toggle menu is displayed.
The event handler receives an argument of type ToggleMenuEventArgs containing data related to this event. The following ToggleMenuEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Menu | Gets or sets the ContextMenu that will be displayed. Set this to null to prevent the default menu from being shown. |
X | Gets the x-coordinate where the menu is to be displayed. |
Y | Gets the y-coordinate where the menu is to be displayed. |
Handle this event to customize the default toggle menu before it is displayed. For more information, see the documentation for ToggleMenuEventArgs.
Rebar Class | Skybound.Rebar Namespace