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


Xceed.SmartUI.Controls.v3.6 Assembly > Xceed.SmartUI.Controls.MenuBar Namespace > MenuItem Class : ShortcutText Property
Gets or sets the Shortcut's text which is displayed to the right of the menu item's text.
Syntax
'Declaration
 
<DescriptionAttribute("Gets or sets the Shortcut's text which is displayed to the right of the menu item's text.")>

<CategoryAttribute("Appearance")>

<BrowsableAttribute(True)>

<MergablePropertyAttribute(False)>

<LocalizableAttribute(True)>

Public Property ShortcutText As String
'Usage
 
Dim instance As MenuItem

Dim value As String

 

instance.ShortcutText = value

 

value = instance.ShortcutText
[Description("Gets or sets the Shortcut's text which is displayed to the right of the menu item's text.")]

[Category("Appearance")]

[Browsable(true)]

[MergableProperty(false)]

[Localizable(true)]

public string ShortcutText {get; set;}

Property Value

A string representing the Shortcut's text which is displayed to the right of the menu item's text. By default System.String.Empty.
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
ShowShortcut Property