MenuCommands 類別

定義

定義一組 CommandID 欄位,每一個欄位都對應至主應用程式環境提供的一個命令函式。Defines a set of CommandID fields that each correspond to a command function provided by the host environment.

public ref class MenuCommands sealed : System::ComponentModel::Design::StandardCommands
public sealed class MenuCommands : System.ComponentModel.Design.StandardCommands
type MenuCommands = class
    inherit StandardCommands
Public NotInheritable Class MenuCommands
Inherits StandardCommands
繼承
MenuCommands

備註

MenuCommands 包含一組 CommandID 欄位,使用 AddCommandIMenuCommandService 方法加入命令時,可以使用這些欄位指定要連結的命令。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.

建構函式

MenuCommands()

初始化 MenuCommands 類別的新執行個體。Initializes a new instance of the MenuCommands class.

欄位

ComponentTrayMenu

可用於存取元件匣功能表的 CommandIDA CommandID that can be used to access the component tray menu.

ContainerMenu

可用於存取容器 (Container) 功能表的 CommandIDA CommandID that can be used to access the container menu.

DesignerProperties

可用於存取設計工具屬性頁的 CommandIDA CommandID that can be used to access the properties page for the designer.

EditLabel

可用於存取編輯標籤處理常式的 CommandIDA CommandID that can be used to access the edit label handler.

KeyCancel

可用於存取取消鍵處理常式的 CommandIDA CommandID that can be used to access the cancel key handler.

KeyDefaultAction

可用於存取預設鍵處理常式的 CommandIDA CommandID that can be used to access the default key handler.

KeyEnd

可用於存取 End 鍵處理常式的 CommandIDA CommandID that can be used to access the end key handler.

KeyHome

可用於存取 Home 鍵處理常式的 CommandIDA CommandID that can be used to access the home key handler.

KeyInvokeSmartTag

可用於存取智慧標籤引動過程處理常式的 CommandIDA CommandID that can be used to access the smart tag invocation handler.

KeyMoveDown

可用於存取下移鍵處理常式的 CommandIDA CommandID that can be used to access the move down key handler.

KeyMoveLeft

可用於存取左移鍵處理常式的 CommandIDA CommandID that can be used to access the move left key handler.

KeyMoveRight

可用於存取右移鍵處理常式的 CommandIDA CommandID that can be used to access the move right key handler.

KeyMoveUp

可用於存取上移鍵處理常式的 CommandIDA CommandID that can be used to access the move up key handler.

KeyNudgeDown

可用於存取向下微調鍵處理常式的 CommandIDA CommandID that can be used to access the nudge down key handler.

KeyNudgeHeightDecrease

可用於存取微減高度鍵處理常式的 CommandIDA CommandID that can be used to access the nudge height decrease key handler.

KeyNudgeHeightIncrease

可用於存取微增高度鍵處理常式的 CommandIDA CommandID that can be used to access the nudge height increase key handler.

KeyNudgeLeft

可用於存取向左微調鍵處理常式的 CommandIDA CommandID that can be used to access the nudge left key handler.

KeyNudgeRight

可用於存取向右微調鍵處理常式的 CommandIDA CommandID that can be used to access the nudge right key handler.

KeyNudgeUp

可用於存取向上微調鍵處理常式的 CommandIDA CommandID that can be used to access the nudge up key handler.

KeyNudgeWidthDecrease

可用於存取微減寬度鍵處理常式的 CommandIDA CommandID that can be used to access the nudge width decrease key handler.

KeyNudgeWidthIncrease

可用於存取微增寬度鍵處理常式的 CommandIDA CommandID that can be used to access the nudge width increase key handler.

KeyReverseCancel

可用於存取反向取消鍵處理常式的 CommandIDA CommandID that can be used to access the reverse cancel key handler.

KeySelectNext

可用於存取選取下一個按鍵處理常式的 CommandIDA CommandID that can be used to access the select next key handler.

KeySelectPrevious

可用於存取選取上一個按鍵處理常式的 CommandIDA CommandID that can be used to access the select previous key handler.

KeyShiftEnd

可用於存取 SHIFT-END 鍵處理常式的 CommandIDA CommandID that can be used to access the SHIFT-END key handler.

KeyShiftHome

可用於存取 SHIFT-HOME 鍵處理常式的 CommandIDA CommandID that can be used to access the SHIFT-HOME key handler.

KeySizeHeightDecrease

可用於存取減少大小高度鍵處理常式的 CommandIDA CommandID that can be used to access the size height decrease key handler.

KeySizeHeightIncrease

可用於存取增加大小高度鍵處理常式的 CommandIDA CommandID that can be used to access the size height increase key handler.

KeySizeWidthDecrease

可用於存取減少大小寬度鍵處理常式的 CommandIDA CommandID that can be used to access the size width decrease key handler.

KeySizeWidthIncrease

可用於存取增加大小寬度鍵處理常式的 CommandIDA CommandID that can be used to access the size width increase key handler.

KeyTabOrderSelect

可用於存取定位順序選取鍵處理常式的 CommandIDA CommandID that can be used to access the tab order select key handler.

SelectionMenu

可用於存取選取功能表的 CommandIDA CommandID that can be used to access the selection menu.

SetStatusRectangle

可用於設定狀態矩形的 CommandIDA CommandID that can be used to set the status rectangle.

SetStatusText

可用於設定狀態矩形文字的 CommandIDA CommandID that can be used to set the status rectangle text.

TraySelectionMenu

可用於存取元件匣選取功能表的 CommandIDA CommandID that can be used to access the tray selection menu.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於