语言

ToolStripMenuItem.ShowShortcutKeys 属性

定义

获取或设置一个值,该值指示是否在旁边ToolStripMenuItem显示与该ToolStripMenuItem键关联的快捷键。

public:
 property bool ShowShortcutKeys { bool get(); void set(bool value); };
public bool ShowShortcutKeys { get; set; }
member this.ShowShortcutKeys : bool with get, set
Public Property ShowShortcutKeys As Boolean

属性值

true 如果显示快捷键,则为否则,为 false. 默认值为 true。

适用于