Skybound Rebar

Rebar.ToggleMenuPopup Event

Occurs before the toggle menu is displayed.

[Visual Basic]
Public Event ToggleMenuPopup As ToggleMenuEventHandler
[C#]
public event ToggleMenuEventHandler ToggleMenuPopup;

Event Data

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.

Remarks

Handle this event to customize the default toggle menu before it is displayed. For more information, see the documentation for ToggleMenuEventArgs.

See Also

Rebar Class | Skybound.Rebar Namespace