xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.

◆ set_client_size_core()

virtual void xtd::forms::control::set_client_size_core ( int32_t  width,
int32_t  height 

Sets the size of the client area of the control.

widthThe client area width, in pixels.
heightThe client area height, in pixels.
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_t, int32_t) in a derived class, be sure to call the base class's set_client_size_core(int32_t, int32_t) method so that the client_size property is adjusted.

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