Variables of graphic item
The graphic item variable is used as aid for creation of user added item properties.
The variable is an Object type. This object has only a single property Value, representing the value of variable itself. Property access for read and write.
Access to the item variable:
The variables are used, for example, for data binding: Data binding GP - Binding to the property of graphic item
The variables can be created in any graphic item on the Variables page
The variables may be of following data types:
text identifier of the font, e.g. "PmMiddle
Data biindings in variables
- If it is written to this property and if this property is linked to the data binding PP
, then the value is transferred also into the source of this binding.
Preset variables in the PmiRoot item
In each PmiRoot item, there are always two preset variables:
- BackroundColor: Background color of the panel
- FocusColor: Outline color rendered around the selected item