Control.ShowKeyboardCues 属性
定义
获取一个值,该值指示用户界面是否处于适当的状态以显示或隐藏键盘快捷键。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(); };
protected:
property bool ShowKeyboardCues { bool get(); };
[System.ComponentModel.Browsable(false)]
protected internal virtual bool ShowKeyboardCues { get; }
[System.ComponentModel.Browsable(false)]
protected bool ShowKeyboardCues { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ShowKeyboardCues : bool
Protected Friend Overridable ReadOnly Property ShowKeyboardCues As Boolean
Protected ReadOnly Property ShowKeyboardCues As Boolean
属性值
如果键盘快捷键可见,则为 true
;否则为 false
。true
if the keyboard accelerators are visible; otherwise, false
.
- 属性
注解
在 Windows 窗体设计器中创建的控件中,默认情况下,键盘快捷键可见。In controls created in the Windows Forms designer, keyboard accelerators are visible by default.
有关此功能的详细信息,请参阅 WM_CHANGEUISTATE、 WM_QUERYUISTATE和 WM_UPDATEUISTATE 主题。For more information about this feature, see the WM_CHANGEUISTATE, WM_QUERYUISTATE, and the WM_UPDATEUISTATE topics.