MenuCommandService::ShowContextMenu Method (CommandID^, Int32, Int32)
.NET Framework (current version)
Shows the shortcut menu with the given command ID at the given location.
Assembly: System.Design (in System.Design.dll)
Parameters
- menuID
-
Type:
System.ComponentModel.Design::CommandID^
The shortcut menu to display.
- x
-
Type:
System::Int32
The x-coordinate of the shortcut menu's location.
- y
-
Type:
System::Int32
The y-coordinate of the shortcut menu's location.
The default implementation does nothing.
.NET Framework
Available since 2.0
Available since 2.0
Show: