Ui XML Reference\Constant
Defines a constant value that can be used in attributes. Constants do not require binding and are referenced by prefixing a '@' to their name.
Example Usage
<Frame layout="flex" frameImage="frame01_blue" >
<Constant name="image" value="cart" />
<Frame frameImage="@image" height="200" width="200" />
</Frame>
This XML produces the following UI:
Related Trigger Function(s):
This frame doesn't support common attributes.
name
Value type: string
Description
Example Usage
<Frame layout="flex" frameImage="frame01_blue" >
<Constant name="image" value="cart" />
<Frame frameImage="@image" height="200" width="200" />
</Frame>
Related Trigger Function(s):
value
Value type: string
Description
Example Usage
<Frame layout="flex" frameImage="frame01_blue" >
<Constant name="image" value="cart" />
<Frame frameImage="@image" height="200" width="200" />
</Frame>