TechNet
Export (0) Print
Expand All

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:
© 2016 Microsoft