Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.getContextMenu

Retrieves the shortcut menu (also known as a context menu) associated with this control.

Syntax

public final ContextMenu getContextMenu()

Return Value

Returns The ContextMenu object that represents the shortcut menu that appears when the user right-clicks this control.

Remarks

The shortcut menu is the menu that appears when the user right-clicks the control.

See Also   setContextMenu