Theme - Styles Property
Theme default property allowing programmatic access to individual styles
Member of Theme (PRIM_THM)
Data Type - PRIM_VS.Style - Style used to define foreground and background appearance
Parameters
Name | Type | Data Type | Description |
|---|---|---|---|
Name | *Input | String | Name of the style |
Details
The Styles property provides programmatic access to individual styles coded within the Theme.
Themes are primarily intended to be used as a global solution to styling, similar in concept to a CSS. DrawStyles are used to control appearance for given controls and features.
However, there are circumstances where a broadbrush approach is not appropriate, so individual styles can be created and stored in a Theme. These are accessible via the Styles property.
Example
Applying a theme style to a control.
#Control.Style <= #Theme<StyleName>