The TextBlock is a graphical element that displays textual information on screens.
On this page:
Requirements
This component is Portable. It runs both on Windows and on Web Pages hosted in any platform.
Configuration
After dragging and dropping the component into the Drawing area, double-click it to open the graphical element configuration window.
TextBlock Settings | |
---|---|
Field | Description |
Text {withTags} | Specifies the text displayed in the TextBlock, including any linked tags. For instance: Temperature: {Tag.Temperature.Value} In this example, it enables dynamically displaying the temperature value from the specified tag. |
Format | This option is available only when you link an object to the button, and allows to define an expression to format the selected label. For example: N1 (number with 1 decimal place). |
Text Wrapping | When checked, enables text wrapping within the TextBlock. This ensures that the text will flow onto the next line if it exceeds the width of the TextBlock. |
Text Preview | This option is available only when you link an object to the button. Preview options control the preview of the label content or data bindings. These options indicate the data linked to the button. Linked tag: Displays the object path of a linked tag, such as 'Tag.Temperature.Value'. Whitespace: Shows a white space as a placeholder. Placeholder: Displays the symbol '#' as a placeholder. |
Runtime ExecutionÂ
When the application needs to display information, it uses a text block to show read-only text. The TextBlock presents a static text that can display dynamic information through expressions. Users can view but not modify this information during runtime execution.
In this section: