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

◆ flat_style() [1/2]

virtual xtd::forms::flat_style xtd::forms::label::flat_style ( ) const
virtualnoexcept

Gets the flat style appearance of the label control.

Returns
One of the xtd::forms::flat_style values. The default value is xtd::forms::flat_style::standard.
Remarks
When the flat_style property is set to xtd::forms::flat_style::system, any values assigned to the image_list, image, image_index, and image_align properties are ignored. In addition, the text_align property ignores any property values that are not vertical property settings. Horizontally aligned settings of the text_align property are aligned to the top of the control. For example, if you set the text_align property to content_alignment::top_center, content_alignment::middle_center, or content_alignment::bottom_center, when the flat_style property is set to xtd::forms::flat_style::system, the text in the label control will be aligned to the top and center locations within the bounds of the control.