Control.SizeFromClientSize(Size) Control.SizeFromClientSize(Size) Control.SizeFromClientSize(Size) Control.SizeFromClientSize(Size) Method

定义

确定整个控件(从控件工作区的高度和宽度起计算)的大小。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

参数

clientSize
Size Size Size Size

一个 Size 值,表示控件工作区的高度和宽度。A Size value representing the height and width of the control's client area.

返回

一个 Size 值,表示整个控件的高度和宽度。A Size value representing the height and width of the entire control.

适用于