Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
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
Show: