MenuCommands Class
.NET Framework 4.5
Defines a set of CommandID fields that each correspond to a command function provided by the host environment.
System.Object
System.ComponentModel.Design.StandardCommands
System.Windows.Forms.Design.MenuCommands
System.ComponentModel.Design.StandardCommands
System.Windows.Forms.Design.MenuCommands
Namespace: System.Windows.Forms.Design
Assembly: System.Design (in System.Design.dll)
The MenuCommands type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ComponentTrayMenu | A CommandID that can be used to access the component tray menu. |
![]() ![]() | ContainerMenu | A CommandID that can be used to access the container menu. |
![]() ![]() | DesignerProperties | A CommandID that can be used to access the properties page for the designer. |
![]() ![]() | EditLabel | A CommandID that can be used to access the edit label handler. |
![]() ![]() | KeyCancel | A CommandID that can be used to access the cancel key handler. |
![]() ![]() | KeyDefaultAction | A CommandID that can be used to access the default key handler. |
![]() ![]() | KeyEnd | A CommandID that can be used to access the end key handler. |
![]() ![]() | KeyHome | A CommandID that can be used to access the home key handler. |
![]() ![]() | KeyInvokeSmartTag | A CommandID that can be used to access the smart tag invocation handler. |
![]() ![]() | KeyMoveDown | A CommandID that can be used to access the move down key handler. |
![]() ![]() | KeyMoveLeft | A CommandID that can be used to access the move left key handler. |
![]() ![]() | KeyMoveRight | A CommandID that can be used to access the move right key handler. |
![]() ![]() | KeyMoveUp | A CommandID that can be used to access the move up key handler. |
![]() ![]() | KeyNudgeDown | A CommandID that can be used to access the nudge down key handler. |
![]() ![]() | KeyNudgeHeightDecrease | A CommandID that can be used to access the nudge height decrease key handler. |
![]() ![]() | KeyNudgeHeightIncrease | A CommandID that can be used to access the nudge height increase key handler. |
![]() ![]() | KeyNudgeLeft | A CommandID that can be used to access the nudge left key handler. |
![]() ![]() | KeyNudgeRight | A CommandID that can be used to access the nudge right key handler. |
![]() ![]() | KeyNudgeUp | A CommandID that can be used to access the nudge up key handler. |
![]() ![]() | KeyNudgeWidthDecrease | A CommandID that can be used to access the nudge width decrease key handler. |
![]() ![]() | KeyNudgeWidthIncrease | A CommandID that can be used to access the nudge width increase key handler. |
![]() ![]() | KeyReverseCancel | A CommandID that can be used to access the reverse cancel key handler. |
![]() ![]() | KeySelectNext | A CommandID that can be used to access the select next key handler. |
![]() ![]() | KeySelectPrevious | A CommandID that can be used to access the select previous key handler. |
![]() ![]() | KeyShiftEnd | A CommandID that can be used to access the SHIFT-END key handler. |
![]() ![]() | KeyShiftHome | A CommandID that can be used to access the SHIFT-HOME key handler. |
![]() ![]() | KeySizeHeightDecrease | A CommandID that can be used to access the size height decrease key handler. |
![]() ![]() | KeySizeHeightIncrease | A CommandID that can be used to access the size height increase key handler. |
![]() ![]() | KeySizeWidthDecrease | A CommandID that can be used to access the size width decrease key handler. |
![]() ![]() | KeySizeWidthIncrease | A CommandID that can be used to access the size width increase key handler. |
![]() ![]() | KeyTabOrderSelect | A CommandID that can be used to access the tab order select key handler. |
![]() ![]() | SelectionMenu | A CommandID that can be used to access the selection menu. |
![]() ![]() | SetStatusRectangle | A CommandID that can be used to set the status rectangle. |
![]() ![]() | SetStatusText | A CommandID that can be used to set the status rectangle text. |
![]() ![]() | TraySelectionMenu | A CommandID that can be used to access the tray selection menu. |
MenuCommands contains a set of CommandID fields that can be used to specify a command to link when adding a command using the AddCommand method of the IMenuCommandService.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
