The text model allows you to specify the alignment, color, decoration, transformation, and font of a text.
Public Properties | |
| virtual auto | auto_ellipsis () const noexcept -> bool=0 |
| Gets a value indicating whether the ellipsis character (...) appears at the right edge of the control, denoting that the control text extends beyond the specified length of the control. | |
| virtual auto | text_alignment () const noexcept -> xtd::forms::content_alignment=0 |
| Gets the alignment of the text. | |
| virtual auto | color () const noexcept -> const xtd::drawing::color &=0 |
| Gets the color is used to add foreground effects to the text. | |
| virtual auto | decoration () const noexcept -> xtd::forms::style_sheets::text_decoration=0 |
| Gets the decoration of the text. | |
| virtual auto | font () const noexcept -> const xtd::drawing::font &=0 |
| Gets the font of the text. | |
| virtual auto | shadows () const noexcept -> xtd::forms::style_sheets::shadows=0 |
| Gets an xtd::forms::style_sheets::shadow array used to draw shadows under the text. | |
| virtual auto | transformation () const noexcept -> xtd::forms::style_sheets::text_transformation=0 |
| Gets the transformation of the text. | |
| virtual auto | white_space () const noexcept -> xtd::forms::style_sheets::white_space=0 |
| Gets how white-space inside an element is handled. | |
Public Methods | |
| virtual auto | make_string_format () const noexcept -> xtd::drawing::string_format=0 |
| Gets the string format of the text. | |
|
nodiscardpure virtualnoexcept |
Gets a value indicating whether the ellipsis character (...) appears at the right edge of the control, denoting that the control text extends beyond the specified length of the control.
Implemented in xtd::forms::style_sheets::control.
|
nodiscardpure virtualnoexcept |
Gets the alignment of the text.
Implemented in xtd::forms::style_sheets::control.
|
nodiscardpure virtualnoexcept |
Gets the color is used to add foreground effects to the text.
Implemented in xtd::forms::style_sheets::control.
|
nodiscardpure virtualnoexcept |
Gets the decoration of the text.
Implemented in xtd::forms::style_sheets::control.
|
nodiscardpure virtualnoexcept |
Gets the font of the text.
Implemented in xtd::forms::style_sheets::control.
|
nodiscardpure virtualnoexcept |
Gets an xtd::forms::style_sheets::shadow array used to draw shadows under the text.
Implemented in xtd::forms::style_sheets::control.
|
nodiscardpure virtualnoexcept |
Gets the transformation of the text.
Implemented in xtd::forms::style_sheets::control.
|
nodiscardpure virtualnoexcept |
Gets how white-space inside an element is handled.
Implemented in xtd::forms::style_sheets::control.
|
nodiscardpure virtualnoexcept |
Gets the string format of the text.
Implemented in xtd::forms::style_sheets::control.