Skip to main content
Version: 3.5

AutoSizeMode

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Specifies how a control will behave when its AutoSize property is enabled.

public enum AutoSizeMode : Enum

Fields

NameDescription
GrowAndShrinkThe control grows or shrinks to fit its contents. The control cannot be resized manually.
GrowOnlyThe 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.

Used By

NameDescription
Button.AutoSizeModeReturns or sets the mode by which the Button automatically resizes itself.
Form.AutoSizeModeIndicates the automatic sizing behavior of the control.
GroupBox.AutoSizeModeReturns or sets the mode by which the Button automatically resizes itself.
Panel.AutoSizeModeIndicates the automatic sizing behavior of the control.
UserControl.AutoSizeModeReturns or sets how the control will resize itself.