ContextMenu Methods |
The ContextMenu type exposes the following members.
Name | Description | |
---|---|---|
![]() | GetCallback |
Gets an instance of an object used to perform callbacks to the widget from handler implementations
(Overrides WidgetGetCallback.) |
![]() | OnClosed |
Raises the Closed event.
|
![]() | OnClosing |
Raises the Closing event.
|
![]() | OnLoad |
Called when the menu is assigned to a control/window
(Overrides MenuOnLoad(EventArgs).) |
![]() | OnOpening |
Raises the Opening event.
|
![]() | OnUnLoad |
Called when the menu is removed from a control/window
(Overrides MenuOnUnLoad(EventArgs).) |
![]() | Show |
Show the context menu at the current mouse position.
|
![]() | Show(Control) |
Show the context menu for the specified control, usually at the current mouse position.
|
![]() | Show(PointF) |
Shows the context menu at the specified screen co-ordinates
|
![]() | Show(Control, NullablePointF) |
Shows the context menu at the specified location relative to a control.
|
Name | Description | |
---|---|---|
![]() | GetChildren |
Gets an enumeration of all children of the specified submenu.
(Defined by SubmenuExtensions.) |