Xceed SmartUI for WinForms v3.6 Documentation
ShowShortcut Property (MenuItem)


Xceed.SmartUI.Controls.v3.6 Assembly > Xceed.SmartUI.Controls.MenuBar Namespace > MenuItem Class : ShowShortcut Property
Gets or sets a boolean value indicating if the SmartItem's Shortcut will be displayed.
Syntax
'Declaration
 
<CategoryAttribute("Appearance")>
<DefaultValueAttribute()>
<DescriptionAttribute("Gets or sets a boolean value indicating if the SmartItem's Shortcut will be displayed.")>
Public Property ShowShortcut As Boolean
'Usage
 
Dim instance As MenuItem
Dim value As Boolean
 
instance.ShowShortcut = value
 
value = instance.ShowShortcut
[Category("Appearance")]
[DefaultValue()]
[Description("Gets or sets a boolean value indicating if the SmartItem's Shortcut will be displayed.")]
public bool ShowShortcut {get; set;}

Property Value

true if the SmartItem's Shortcut will be displayed; false otherwise. By default, true.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MenuItem Class
MenuItem Members
Shortcut Property
ShortcutText Property