Control.SizeFromClientSize(Size) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
A Size value representing the height and width of the entire control.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.