Conditional Style Config
The Predefined Configuration for the Conditional Style function
Conditional Style State
The Conditional Style State contains a collection of Conditional Style
Property | Description |
---|---|
ConditionalStyles | Array of Conditional Styles to ship with Adaptable |
Conditional Style
A Conditional Style is defined as follows:
Property | Description | Default |
---|---|---|
ExcludeGroupedRows | Whether to apply Style in Grouped Rows | false |
Predicate | Predicate-based Rule to use for deciding if a style needs to be applied. | |
Scope | Where Style is applied - can be whole Row, some Columns or all Colunns of given DataType | |
Style | Adaptable Style (e.g. font properties and colurs) to apply. |
Query Object
Because a Conditional Style derives from Query Object it also includes these 2 properties:
Property | Description |
---|---|
Expression | The Expression itself - will be evaluated using the Adaptable parser |
SharedQueryId | Reference to the Uuid property of existing Shared Query in Query State |
tip
This offers the ability to provide an Expression instead of a Predicate: