Export (0) Print
Expand All

MenuCommands Class

Defines a set of CommandID fields that each correspond to a command function provided by the host environment.

Namespace:  System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

public sealed class MenuCommands : StandardCommands

The MenuCommands type exposes the following members.

  NameDescription
Public methodMenuCommandsInitializes a new instance of the MenuCommands class.
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic memberComponentTrayMenuA CommandID that can be used to access the component tray menu.
Public fieldStatic memberContainerMenuA CommandID that can be used to access the container menu.
Public fieldStatic memberDesignerPropertiesA CommandID that can be used to access the properties page for the designer.
Public fieldStatic memberEditLabelA CommandID that can be used to access the edit label handler.
Public fieldStatic memberKeyCancelA CommandID that can be used to access the cancel key handler.
Public fieldStatic memberKeyDefaultActionA CommandID that can be used to access the default key handler.
Public fieldStatic memberKeyEndA CommandID that can be used to access the end key handler.
Public fieldStatic memberKeyHomeA CommandID that can be used to access the home key handler.
Public fieldStatic memberKeyInvokeSmartTagA CommandID that can be used to access the smart tag invocation handler.
Public fieldStatic memberKeyMoveDownA CommandID that can be used to access the move down key handler.
Public fieldStatic memberKeyMoveLeftA CommandID that can be used to access the move left key handler.
Public fieldStatic memberKeyMoveRightA CommandID that can be used to access the move right key handler.
Public fieldStatic memberKeyMoveUpA CommandID that can be used to access the move up key handler.
Public fieldStatic memberKeyNudgeDownA CommandID that can be used to access the nudge down key handler.
Public fieldStatic memberKeyNudgeHeightDecreaseA CommandID that can be used to access the nudge height decrease key handler.
Public fieldStatic memberKeyNudgeHeightIncreaseA CommandID that can be used to access the nudge height increase key handler.
Public fieldStatic memberKeyNudgeLeftA CommandID that can be used to access the nudge left key handler.
Public fieldStatic memberKeyNudgeRightA CommandID that can be used to access the nudge right key handler.
Public fieldStatic memberKeyNudgeUpA CommandID that can be used to access the nudge up key handler.
Public fieldStatic memberKeyNudgeWidthDecreaseA CommandID that can be used to access the nudge width decrease key handler.
Public fieldStatic memberKeyNudgeWidthIncreaseA CommandID that can be used to access the nudge width increase key handler.
Public fieldStatic memberKeyReverseCancelA CommandID that can be used to access the reverse cancel key handler.
Public fieldStatic memberKeySelectNextA CommandID that can be used to access the select next key handler.
Public fieldStatic memberKeySelectPreviousA CommandID that can be used to access the select previous key handler.
Public fieldStatic memberKeyShiftEndA CommandID that can be used to access the SHIFT-END key handler.
Public fieldStatic memberKeyShiftHomeA CommandID that can be used to access the SHIFT-HOME key handler.
Public fieldStatic memberKeySizeHeightDecreaseA CommandID that can be used to access the size height decrease key handler.
Public fieldStatic memberKeySizeHeightIncreaseA CommandID that can be used to access the size height increase key handler.
Public fieldStatic memberKeySizeWidthDecreaseA CommandID that can be used to access the size width decrease key handler.
Public fieldStatic memberKeySizeWidthIncreaseA CommandID that can be used to access the size width increase key handler.
Public fieldStatic memberKeyTabOrderSelectA CommandID that can be used to access the tab order select key handler.
Public fieldStatic memberSelectionMenuA CommandID that can be used to access the selection menu.
Public fieldStatic memberSetStatusRectangleA CommandID that can be used to set the status rectangle.
Public fieldStatic memberSetStatusTextA CommandID that can be used to set the status rectangle text.
Public fieldStatic memberTraySelectionMenuA CommandID that can be used to access the tray selection menu.
Top

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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

Windows 8.1, Windows Server 2012 R2, 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft