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

◆ show_panels() [2/2]

virtual status_bar & xtd::forms::status_bar::show_panels ( bool  value)
virtual

Sets a value indicating whether any panels that have been added to the control are displayed.

Parameters
valuetrue if panels are displayed; otherwise, false. The default is false.
Returns
Current status_bar instance.
Remarks
By default, the xtd::forms::status_bar control displays the value of its xtd::forms::status_bar::text property without any panels. When xtd::forms::status_bar::show_panels is set to true, any xtd::forms::status_bar objects specified in the StatusBar control are displayed. No panels are initially created when you create an instance of the xtd::forms::status_bar class. You can add panels to a xtd::forms::status_bar control by using the xtd::forms::status_bar::status_bar_panel_collection::push_back method of the xtd::forms::status_bar::status_bar_panel_collection class. This collection class can be accessed through the xtd::forms::status_bar::panels property of xtd::forms::status_bar.