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

◆ show_panels() [1/2]

virtual bool xtd::forms::status_bar::show_panels ( ) const
virtualnoexcept

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

Returns
true if panels are displayed; otherwise, false. The default is false.
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.