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

◆ text() [1/2]

const xtd::string & xtd::forms::status_bar_panel::text ( ) const
noexcept

Gets the text of the status bar panel.

Returns
The text displayed in the panel. The default is an empty string ("").
Remarks
This property represents the text that is displayed when the xtd::forms::status_bar_panel::style property is set to xtd::forms::status_bar_panel::text. You can use this property to display information about your application in a xtd::forms::status_bar control. For example, you can use the xtd::forms::status_bar_panel::text property to display Help information when the user moves the mouse over a menu or to display the name and location of a file that is opened in an application. To align the text within a xtd::forms::status_bar_panel, use the xtd::forms::status_bar_panel::alignment property.