Control.ShowKeyboardCues Control.ShowKeyboardCues Control.ShowKeyboardCues Control.ShowKeyboardCues Property

定義

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

protected public:
 virtual property bool ShowKeyboardCues { bool get(); };
[System.ComponentModel.Browsable(false)]
protected internal virtual bool ShowKeyboardCues { get; }
member this.ShowKeyboardCues : bool
Protected Friend Overridable 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_QUERYUISTATE,而WM_UPDATEUISTATE主題。For more information about this feature, see the WM_CHANGEUISTATE, WM_QUERYUISTATE, and the WM_UPDATEUISTATE topics.

適用於

另請參閱