Table of Contents

Label

This component can be used to display a UI view property caption as text.

If you want to display property value, use the text component.

Node name : label

Attributes

Attribute Type Required Default value Description
property-name string true UI view property name
item UI view false @DatasourceCurrent Item to be bound to
display-property-value bool false false Display property value.
size string (small, medium, large, extralarge) false small Defines font size if display property value is true
weight string (regular, strong, stronger) false regular Defines font weight if display property value is true

Examples

In the following example, the value of the property CompanyName will be displayed with a strong, extralarge font.

<label property-name="CompanyName" display-property-value="true" size="extralarge" weight="strong" />
Warning

It's preferable to use the text component to display the property value.