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)

property Size MaximumSize {
	virtual Size get();
	virtual void set(Size value);

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