Export (0) Print
Expand All
Expand Minimize

MaxHeight Property

Visual Studio .NET 2003

Determines the maximum height to which a form can be sized. Available at design time and run time.

Object.MaxHeight[ = nHeight]

Property Values

nHeight
The maximum height, in the unit of measurement specified by the ScaleMode property of the form.

Remarks

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 doesn't exceed the height specified in the MaxHeight property setting.

The default setting for the MaxHeight property is – 1; no maximum height is specified.

See Also

ScaleMode Property

Applies To: Form | _SCREEN

Show:
© 2014 Microsoft