Enum AutoSizeMode
Specifies how a control will be sized by the control layout methods when its AutoSize setting is enabled.
public enum AutoSizeMode
Fields
GrowAndShrink = 0
The control grows or shrinks to fit its contents. The control cannot be resized manually.
GrowOnly = 1
The control grows as much as necessary to fit its contents but does not shrink smaller than the value of its Size property.