- menuID
- The System.ComponentModel.Design.CommandID for the shortcut menu to show.
- x
- The x-coordinate at which to display the menu, in screen coordinates.
- y
- The y-coordinate at which to display the menu, in screen coordinates.
The IMenuCommandService.ShowContextMenu(CommandID, int, int) method can display any of the following Visual Studio shortcut menus containing menu commands at a specified point:
The shortcut menu displayed for a container | |
The shortcut menu displayed for the component tray | |
The shortcut menu displayed for a selection | |
The shortcut menu displayed for a tray selection |
This method can also display other registered shortcut menus.