RibbonTab.KeyTip 屬性

定義

取得或設定控制項的鍵盤快速鍵。

public:
 property System::String ^ KeyTip { System::String ^ get(); void set(System::String ^ value); };
public string KeyTip { get; set; }
member this.KeyTip : string with get, set
Public Property KeyTip As String

屬性值

String

控制項的鍵盤快速鍵。 已註冊的預設值是 null。 如需可能會影響該值的相關詳細資訊,請參閱 相依性屬性值優先順序

備註

KeyTip 必須是 1 到 3 個大寫字元,而且不能包含空格、索引標籤或分行符號。

按鍵提示有時稱為便捷鍵或快速鍵,並用來做為啟動控制項的快速鍵組合。 當您按下 ALT 鍵時, Ribbon 按鍵提示會出現在 上。

相依性屬性資訊

識別碼欄位 KeyTipProperty
中繼資料屬性設定為 true

適用於