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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.