ToolStripItem.ShowKeyboardCues 属性

定义

获取一个值,该值指示是显示还是隐藏快捷键。Gets a value indicating whether to show or hide shortcut keys.

protected public:
 virtual property bool ShowKeyboardCues { bool get(); };
protected internal virtual bool ShowKeyboardCues { get; }
member this.ShowKeyboardCues : bool
Protected Friend Overridable ReadOnly Property ShowKeyboardCues As Boolean

属性值

如果显示快捷键,为 true;否则为 falsetrue to show shortcut keys; otherwise, false. 默认值为 trueThe default is true.

注解

快捷键(如 CTRL + C 进行复制)提供使用鼠标或其他指针设备选择命令所用的键盘替代方法。Shortcut keys, such as CTRL+C for copying, provide keyboard alternatives to selecting a command with a mouse or other pointing device.

适用于