Control.MaximumSize Property


Gets or sets the size that is the upper limit that GetPreferredSize can specify.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

abstract MaximumSize : Size with get, set
override MaximumSize : Size with get, set

Property Value

Type: System.Drawing.Size

An ordered pair of type System.Drawing.Size representing the width and height of a rectangle.

.NET Framework
Available since 2.0
Return to top