The text model allows you to specify the alignment, color, decoration, transformation, and font of a text.
Public Properties | |
virtual bool | auto_ellipsis () const noexcept=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 xtd::forms::content_alignment | text_alignment () const noexcept=0 |
Gets the alignment of the text. | |
virtual const xtd::drawing::color & | color () const noexcept=0 |
Gets the color is used to add foreground effects to the text. | |
virtual xtd::forms::style_sheets::text_decoration | decoration () const noexcept=0 |
Gets the decoration of the text. | |
virtual const xtd::drawing::font & | font () const noexcept=0 |
Gets the font of the text. | |
virtual xtd::forms::style_sheets::shadows | shadows () const noexcept=0 |
Gets an xtd::forms::style_sheets::shadow array used to draw shadows under the text. | |
virtual xtd::forms::style_sheets::text_transformation | transformation () const noexcept=0 |
Gets the transformation of the text. | |
virtual xtd::forms::style_sheets::white_space | white_space () const noexcept=0 |
Gets how white-space inside an element is handled. | |
Public Methods | |
virtual xtd::drawing::string_format | make_string_format () const noexcept=0 |
Gets the string format of the text. | |
|
pure 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.
|
pure virtualnoexcept |
Gets the alignment of the text.
Implemented in xtd::forms::style_sheets::control.
|
pure virtualnoexcept |
Gets the color is used to add foreground effects to the text.
Implemented in xtd::forms::style_sheets::control.
|
pure virtualnoexcept |
Gets the decoration of the text.
Implemented in xtd::forms::style_sheets::control.
|
pure virtualnoexcept |
Gets the font of the text.
Implemented in xtd::forms::style_sheets::control.
|
pure virtualnoexcept |
Gets an xtd::forms::style_sheets::shadow array used to draw shadows under the text.
Implemented in xtd::forms::style_sheets::control.
|
pure virtualnoexcept |
Gets the transformation of the text.
Implemented in xtd::forms::style_sheets::control.
|
pure virtualnoexcept |
Gets how white-space inside an element is handled.
Implemented in xtd::forms::style_sheets::control.
|
pure virtualnoexcept |
Gets the string format of the text.
Implemented in xtd::forms::style_sheets::control.