編輯

共用方式為


Control.ShowKeyboardCues Property

Definition

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(); };
protected public:
 virtual property bool ShowKeyboardCues { bool get(); };
[System.ComponentModel.Browsable(false)]
protected bool ShowKeyboardCues { get; }
[System.ComponentModel.Browsable(false)]
protected internal virtual bool ShowKeyboardCues { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ShowKeyboardCues : bool
Protected ReadOnly Property ShowKeyboardCues As Boolean
Protected Friend Overridable ReadOnly Property ShowKeyboardCues As Boolean

Property Value

true if the keyboard accelerators are visible; otherwise, false.

Attributes

Remarks

In controls created in the Windows Forms designer, keyboard accelerators are visible by default.

For more information about this feature, see the WM_CHANGEUISTATE, WM_QUERYUISTATE, and the WM_UPDATEUISTATE topics.

Applies to

See also