ButtonBase.UseMnemonic 屬性
定義
取得或設定值,指出是否將前面加上連字號 (&) 的第一個字元當做控制項的助憶鍵來使用。Gets or sets a value indicating whether the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control.
public:
property bool UseMnemonic { bool get(); void set(bool value); };
public bool UseMnemonic { get; set; }
member this.UseMnemonic : bool with get, set
Public Property UseMnemonic As Boolean
屬性值
true
如果前面加上連字號的第一個字元 (&) 用來作為控制項的助憶鍵,則為,否則為 false
。true
if the first character that is preceded by an ampersand (&) is used as the mnemonic key of the control; otherwise, false
. 預設為 true
。The default is true
.