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

◆ width() [2/2]

status_bar_panel & xtd::forms::status_bar_panel::width ( int32  value)

Sets the width of the status bar panel within the xtd::forms::status_bar control.

Parameters
valueThe width, in pixels, of the xtd::forms::status_bar_panel.
Returns
This current instance.
Remarks
The xtd::forms::status_bar_panel::width property always reflects the actual width of a xtd::forms::status_bar_panel and cannot be smaller than the xtd::forms::status_bar_panel::min_width property. To automatically resize the width of the xtd::forms::status_bar_panel to the contents of the xtd::forms::status_bar_panel, you can use the xtd::forms::status_bar_panel::auto_size property.