Specifies how a control will behave when its AutoSize property is enabled.
publicenumAutoSizeMode:Enum
Public Enum AutoSizeMode As [Enum]
Fields
Name
Description
GrowAndShrink
The control grows or shrinks to fit its contents. The control cannot be resized manually.
GrowOnly
The control grows as much as necessary to fit its contents but does not shrink smaller than the value of its Size property. The control can be resized, but cannot be made so small that any of its contained controls are hidden.