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:
 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 窗体设计器中创建的控件中,默认情况下,键盘快捷键可见。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.

适用于

另请参阅