Xceed SmartUI for WinForms v3.6 Documentation
UseMnemonic Property


Xceed.SmartUI.v3.6 Assembly > Xceed.SmartUI Namespace > SmartItem Class : UseMnemonic Property
Gets or sets a boolean value indicating if the SmartItem interprets an ampersand character (&) in its Text property to be an access key prefix character.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates if the SmartItem interprets an ampersand character (&) in its Text property to be an access key prefix character.")>

<CategoryAttribute("Behavior")>

<DefaultValueAttribute()>

<BrowsableAttribute(True)>

<MergablePropertyAttribute(True)>

<LocalizableAttribute(False)>

Public Property UseMnemonic As Boolean
'Usage
 
Dim instance As SmartItem

Dim value As Boolean

 

instance.UseMnemonic = value

 

value = instance.UseMnemonic
[Description("Indicates if the SmartItem interprets an ampersand character (&) in its Text property to be an access key prefix character.")]

[Category("Behavior")]

[DefaultValue()]

[Browsable(true)]

[MergableProperty(true)]

[Localizable(false)]

public bool UseMnemonic {get; set;}

Property Value

true if the SmartItem interprets an ampersand character; false otherwise.
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

SmartItem Class
SmartItem Members