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


In This Topic
    AutoSizeMode Property
    In This Topic
    Gets or sets a value indicating if the size of the WinButton control should automatically be adjusted according to specific system defined values.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates if the size of the WinButton control should automatically be adjusted according to specific system defined values. .")>
    <CategoryAttribute("Behavior")>
    Public Property AutoSizeMode As AutoSizeMode
    'Usage
     
    Dim instance As WinButton
    Dim value As AutoSizeMode
     
    instance.AutoSizeMode = value
     
    value = instance.AutoSizeMode
    [Description("Indicates if the size of the WinButton control should automatically be adjusted according to specific system defined values. .")]
    [Category("Behavior")]
    public AutoSizeMode AutoSizeMode {get; set;}

    Property Value

    An AutoSizeMode value indicating if the size of the WinButton control should automatically be adjusted according to specific system defined values. By default, DefaultAutoSizeMode.
    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