Windows apps
Collapse the table of content
Expand the table of content
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::SizeFromClientSize Method (Size)

 

Determines the size of the entire control from the height and width of its client area.

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

protected:
virtual Size SizeFromClientSize(
	Size clientSize
)

Parameters

clientSize
Type: System.Drawing::Size

A Size value representing the height and width of the control's client area.

Return Value

Type: System.Drawing::Size

A Size value representing the height and width of the entire control.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft