MenuCommands 類別

定義

定義一組 CommandID 欄位,每一個欄位都對應至主應用程式環境提供的一個命令函式。

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()

初始化 MenuCommands 類別的新執行個體。

欄位

ComponentTrayMenu

可用於存取元件匣功能表的 CommandID

ContainerMenu

可用於存取容器 (Container) 功能表的 CommandID

DesignerProperties

可用於存取設計工具屬性頁的 CommandID

EditLabel

可用於存取編輯標籤處理常式的 CommandID

KeyCancel

可用於存取取消鍵處理常式的 CommandID

KeyDefaultAction

可用於存取預設鍵處理常式的 CommandID

KeyEnd

可用於存取 End 鍵處理常式的 CommandID

KeyHome

可用於存取 Home 鍵處理常式的 CommandID

KeyInvokeSmartTag

可用於存取智慧標籤引動過程處理常式的 CommandID

KeyMoveDown

可用於存取下移鍵處理常式的 CommandID

KeyMoveLeft

可用於存取左移鍵處理常式的 CommandID

KeyMoveRight

可用於存取右移鍵處理常式的 CommandID

KeyMoveUp

可用於存取上移鍵處理常式的 CommandID

KeyNudgeDown

可用於存取向下微調鍵處理常式的 CommandID

KeyNudgeHeightDecrease

可用於存取微減高度鍵處理常式的 CommandID

KeyNudgeHeightIncrease

可用於存取微增高度鍵處理常式的 CommandID

KeyNudgeLeft

可用於存取向左微調鍵處理常式的 CommandID

KeyNudgeRight

可用於存取向右微調鍵處理常式的 CommandID

KeyNudgeUp

可用於存取向上微調鍵處理常式的 CommandID

KeyNudgeWidthDecrease

可用於存取微減寬度鍵處理常式的 CommandID

KeyNudgeWidthIncrease

可用於存取微增寬度鍵處理常式的 CommandID

KeyReverseCancel

可用於存取反向取消鍵處理常式的 CommandID

KeySelectNext

可用於存取選取下一個按鍵處理常式的 CommandID

KeySelectPrevious

可用於存取選取上一個按鍵處理常式的 CommandID

KeyShiftEnd

可用於存取 SHIFT-END 鍵處理常式的 CommandID

KeyShiftHome

可用於存取 SHIFT-HOME 鍵處理常式的 CommandID

KeySizeHeightDecrease

可用於存取減少大小高度鍵處理常式的 CommandID

KeySizeHeightIncrease

可用於存取增加大小高度鍵處理常式的 CommandID

KeySizeWidthDecrease

可用於存取減少大小寬度鍵處理常式的 CommandID

KeySizeWidthIncrease

可用於存取增加大小寬度鍵處理常式的 CommandID

KeyTabOrderSelect

可用於存取定位順序選取鍵處理常式的 CommandID

SelectionMenu

可用於存取選取功能表的 CommandID

SetStatusRectangle

可用於設定狀態矩形的 CommandID

SetStatusText

可用於設定狀態矩形文字的 CommandID

TraySelectionMenu

可用於存取元件匣選取功能表的 CommandID

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於