Retrieves the size of a rectangular area into which a control can be fit.
Syntax
Parameters
- constrainingSize
-
The custom-sized area for a control.
Returns
A System.Drawing.Size ordered pair, representing the width and height of a rectangle.
Remarks
Requirements
Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0