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.

適用於