MaximumSize Property
Collapse the table of content
Expand the table of content

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)

public virtual Size MaximumSize { 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
© 2015 Microsoft