Text Before and Text After content class property

Official Content
This documentation is valid for:

It displays a piece of text before or after the contents of a label. It applies to the Textblock class and its descendants.

It's very useful when indicating the required fields of a form.


Consider a web transaction where the ProductName field is going to be required.

The ProductName attribute Class property is assigned to the "AttributeRequired" class.


The AttributeRequired class has the following characteristics:


The LabelRequired class is a descendant of the Textblock class, and has the following settings:

  • Forecolor = red
  • Text After content = *


At runtime, the ProductName label is displayed as follows: