xtd 0.2.0
Loading...
Searching...
No Matches

◆ client_size() [2/2]

virtual control & xtd::forms::control::client_size ( const xtd::drawing::size client_size)
virtual

Sets the height and width of the client area of the control.

Parameters
client_sizeA size that represents the dimensions of the client area of the control.
Returns
Current control.
Remarks
The client area of a control is the bounds of the control, minus the nonclient elements such as scroll bars, borders, title bars, and menus. The set_client_size_core method is called to set the client_size property. The client_size property is not always changed through its set method so you should override the set_client_size_core method to ensure that your code is executed when the client_size property is set.