TextControl

The TextControl offers various attributes, all of which are valid for text manipulation.

Use

This is only used for inheritance and is therefore not available in the toolbox.

Features

The following text manipulations are possible:

Attributes

The control inherits from BaseControl and thus has the same attributes. In addition, there are the following attributes.

Colors

TextColor

tchmi:framework#/definitions/SolidColor

Color of texts.

TextDecorationColor

tchmi:framework#/definitions/SolidColor

Color of text decorations.

Text

TextVerticalAlignment

tchmi:framework#/definitions/VerticalAlignment

Vertical alignment of texts.

TextHorizontalAlignment

tchmi:framework#/definitions/HorizontalAlignment

Horizontal alignment of texts.

TextFontSize

tchmi:framework#/definitions/MeasurementValue

Font size of texts. Percentages are relative to the font size of the parent element.

TextFontSizeUnit

tchmi:framework#/definitions/MeasurementUnit

Unit for the font size of texts. Can be absolute (px) or relative (%).

TextFontFamily

tchmi:framework#/definitions/FontFamily

Font of texts.

TextFontStyle

tchmi:framework#/definitions/FontStyle

Font style of texts.

TextFontWeight

tchmi:framework#/definitions/FontWeight

Font weight of texts.

TextDecorationLine

tchmi:framework#/definitions/TcHmi.BuildingAutomation.Controls.TextControl.TextDecorationLine

Position of the text decoration.

TextDecorationStyle

tchmi:framework#/definitions/TcHmi.BuildingAutomation.Controls.TextControl.TextDecorationStyle

Style of text decoration.

UserSelect

tchmi:framework#/definitions/TcHmi.BuildingAutomation.Controls.TextControl.UserSelect

Behavior when selecting the text of a user.

TextOverflow

tchmi:framework#/definitions/TcHmi.BuildingAutomation.Controls.TextControl.TextOverflow

Defines how to display text that is wider than the control.