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

◆ min_width() [2/2]

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

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

Parameters
valueThe minimum width, in pixels, of the xtd::forms::status_bar_panel
Exceptions
xtd::argument_exceptionA value less than 0 is assigned to the property.
Remarks
The xtd::forms::status_bar_panel::min_width property is used when the xtd::forms::status_bar_panel::auto_size property is set to xtd::forms::status_bar_panel_auto_size::contents or xtd::forms::status_bar_panel_auto_size::spring to prevent the xtd::forms::status_bar_panel from automatically resizing to a width that is too small. When the xtd::forms::status_bar_panel::auto_size property is set to xtd::forms::status_bar_panel_auto_size::none, the xtd::forms::status_bar_panel::min_width property is automatically set to the same value as the xtd::forms::status_bar_panel::width property.