This documentation is archived and is not being maintained.

MinWidth Property

Visual Studio .NET 2003

Specifies the minimum width that a form can be resized to. Available at design time and run time.

Object.MinWidth[ = nWidth]

Property Values

The minimum width that the form can be resized to, in the unit of measurement specified by the ScaleMode property of the Form.


When the user sizes a Form by choosing either the Size command from the Control menu or by dragging the borders of the form, the Form cannot be made any narrower than the width specified in the MinWidth property setting.

The default setting for the MinWidth property is – 1; no minimum width is specified.

See Also

MaxHeight Property | MaxWidth Property | MinHeight Property | ScaleMode Property

Applies To: Form | _SCREEN