Style sheets
se a Style sheet object to specify default style values displayed at runtime.
TIP:
Projects can contain multiple style sheets. Multiple style sheets allow you to switch between styles. For example, you could switch between a light interface and dark interface at runtime.
Properties inheritance
Objects and object instances inherit style properties from a style sheet and object types. A property can be set at more than one level. For example, text color can be set in both the style sheet globally and on a custom
Label
object type.Property values are resolved in this order:
- Instance
- Object type of the instance
- Style sheet for the object class
- Global style sheet
If the value of a property is set to
Default
, the property inherits the value set at a higher level, in the order above. For example, if the value of Text color
for the instance of a Label
object is Default
, the color value that is set is the first value found for the same property of type, object class, or global level, in that order.Provide Feedback