Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinButton Class / UseMnemonic Property


In This Topic
    UseMnemonic Property (WinButton)
    In This Topic
    Gets or sets a boolean value indicating if the button interprets an ampersand character (&) in its Text property to be an access key prefix character.
    Syntax
    'Declaration
     
    <CategoryAttribute("Behavior")>
    <DescriptionAttribute("Indicates if the button interprets an ampersand character (&) in its Text property to be an access key prefix character.")>
    <DefaultValueAttribute(True)>
    Public Property UseMnemonic As Boolean
    'Usage
     
    Dim instance As WinButton
    Dim value As Boolean
     
    instance.UseMnemonic = value
     
    value = instance.UseMnemonic
    [Category("Behavior")]
    [Description("Indicates if the button interprets an ampersand character (&) in its Text property to be an access key prefix character.")]
    [DefaultValue(true)]
    public bool UseMnemonic {get; set;}

    Property Value

    true if the button 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