Edit

Share via


Control.SizeFromClientSize(Size) Method

Definition

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

protected:
 virtual System::Drawing::Size SizeFromClientSize(System::Drawing::Size clientSize);
protected virtual System.Drawing.Size SizeFromClientSize (System.Drawing.Size clientSize);
abstract member SizeFromClientSize : System.Drawing.Size -> System.Drawing.Size
override this.SizeFromClientSize : System.Drawing.Size -> System.Drawing.Size
Protected Overridable Function SizeFromClientSize (clientSize As Size) As Size

Parameters

clientSize
Size

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

Returns

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

Applies to