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

◆ set_client_size_core()

virtual void xtd::forms::control::set_client_size_core ( int32  width,
int32  height 
)
protectedvirtual

Sets the size of the client area of the control.

Parameters
widthThe client area width, in pixels.
heightThe client area height, in pixels.
Remarks
The client area starts at the (0, 0) location and extends to the (width, height) location.
Typically, you should not set the client_size of the control.
Notes to Inheritors
When overriding set_client_size_core(int32, int32) in a derived class, be sure to call the base class's set_client_size_core(int32, int32) method so that the client_size property is adjusted.

Reimplemented in xtd::forms::choice, xtd::forms::seven_segment_display, and xtd::forms::track_bar.