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

◆ alignment() [1/2]

xtd::forms::horizontal_alignment xtd::forms::status_bar_panel::alignment ( ) const
noexcept

Gets the alignment of text and icons within the status bar panel.

Returns
One of the xtd::forms::horizontal_alignment values. The default is xtd::forms::horizontal_alignment::left.
Remarks
You can use this property to horizontally align the text and/or image assigned to the xtd::forms::status_bar_panel::image property within the borders of the panel. Text and im ge can be aligned to the left, right, or center of the xtd::forms::status_bar_panel. There is no way to independently position animage within the xtd::forms::status_bar_panel. For example, you cannot position an icon to the left side of the xtd::forms::status_bar_panel while aligning the text on the right side. The image is always positioned to the left side of the text regardless of how the text is aligned.