Control.ShowKeyboardCues 屬性

定義

取得值,指出使用者介面是否處於可顯示或隱藏鍵盤快速鍵的適當狀態下。Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators.

protected:
 property bool ShowKeyboardCues { bool get(); };
[System.ComponentModel.Browsable(false)]
protected bool ShowKeyboardCues { get; }
member this.ShowKeyboardCues : bool
Protected ReadOnly Property ShowKeyboardCues As Boolean

屬性值

如果可以看到鍵盤快速鍵,則為 true,否則為 falsetrue if the keyboard accelerators are visible; otherwise, false.

屬性

備註

在 Windows Forms 設計工具中建立的控制項中,預設會顯示鍵盤快速鍵。In controls created in the Windows Forms designer, keyboard accelerators are visible by default.

如需這項功能的詳細資訊,請參閱WM_CHANGEUISTATEWM_QUERYUISTATEWM_UPDATEUISTATE主題。For more information about this feature, see the WM_CHANGEUISTATE, WM_QUERYUISTATE, and the WM_UPDATEUISTATE topics.

適用於

另請參閱