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
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.