Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / AutoSizeMode Enumeration


In This Topic
    AutoSizeMode Enumeration
    In This Topic
    Value representing if the width and/or height of a WinButton control should be automatically adjusted to a predefined width and/or height.
    Syntax
    'Declaration
     
    Public Enum AutoSizeMode 
       Inherits System.Enum
    'Usage
     
    Dim instance As AutoSizeMode
    public enum AutoSizeMode : System.Enum 
    Members
    MemberDescription
    NoneNeither the width nor height of the WinButton control are automatically adjusted.
    ScrollBarHeightThe height of the WinButton control will automatically be adjusted to correspond to the scrollbar height defined by System.Windows.Forms.SystemInformation.HorizontalScrollBarHeight.
    ScrollBarWidthThe width of the WinButton control will automatically be adjusted to correspond to the scrollbar width defined by System.Windows.Forms.SystemInformation.VerticalScrollBarWidth.
    ScrollBarWidthAndHeightThe width of the WinButton control will automatically be adjusted to correspond to the scrollbar width defined by System.Windows.Forms.SystemInformation.VerticalScrollBarWidth while the height of the WinButton control will be adjusted to correspond to the scrollbar heigh defined by System.Windows.Forms.SystemInformation.HorizontalScrollBarHeight.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Xceed.Editors.AutoSizeMode

    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