property Texture.Template as String
Specifies the control's template.

TypeDescription
String A string expression that indicates the control's template
The control's template uses the X-Script language to initialize the control's content. Use the Template property page of the control to update the control's Template property. Use the Template property to execute code by passing instructions as a string ( template string ).

Most of our UI components provide a Template page that's accessible in design mode. The control's Template page helps user to initialize the control's look and feel in design mode. The Template page displays the control  on the left side of the page. On the right side of the Template page, a simple editor is displayed where user has to write the initialization code. The control's look and feel is automatically updated as soon as user types new instructions. The Template script is saved to container persistence ( when Apply button is pressed ), and it is executed when the control is initialized at runtime. The Template script is composed by lines of instructions. Instructions are separated by "\n\r" ( newline) characters.

An instruction can be one of the following: