Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItem Class / UseMnemonic Property


In This Topic
    UseMnemonic Property
    In This Topic
    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(True)>
    <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(true)]
    [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