MenuCommandService.ShowContextMenu(CommandID, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Shows the shortcut menu with the given command ID at the given location.
public:
virtual void ShowContextMenu(System::ComponentModel::Design::CommandID ^ menuID, int x, int y);
public virtual void ShowContextMenu (System.ComponentModel.Design.CommandID menuID, int x, int y);
abstract member ShowContextMenu : System.ComponentModel.Design.CommandID * int * int -> unit
override this.ShowContextMenu : System.ComponentModel.Design.CommandID * int * int -> unit
Public Overridable Sub ShowContextMenu (menuID As CommandID, x As Integer, y As Integer)
Parameters
- menuID
- CommandID
The shortcut menu to display.
- x
- Int32
The x-coordinate of the shortcut menu's location.
- y
- Int32
The y-coordinate of the shortcut menu's location.
Implements
Remarks
The default implementation does nothing.
Applies to
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.