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

◆ min_width() [1/2]

int32 xtd::forms::status_bar_panel::min_width ( ) const
noexcept

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

Returns
The minimum width, in pixels, of the xtd::forms::status_bar_panel
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.