Configuring an HTML Type for a Control

The following example code creates a custom HTML type for the LabelRed control that displays the caption of the control in red:

<swe:htmltype name="LabelRed">
  <font color="red"> <div od-property="DisplayName"/> </font>
</swe:htmltype>