Conditional Style Config

The Predefined Configuration for the Conditional Style function

Conditional Style State

The Conditional Style State contains a collection of Conditional Style

PropertyDescription
ConditionalStylesArray of Conditional Styles to ship with Adaptable

Conditional Style

A Conditional Style is defined as follows:

PropertyDescriptionDefault
ExcludeGroupedRowsWhether to apply Style in Grouped Rowsfalse
PredicatePredicate-based Rule to use for deciding if a style needs to be applied.
ScopeWhere Style is applied - can be whole Row, some Columns or all Colunns of given DataType
StyleAdaptable 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:

PropertyDescription
ExpressionThe Expression itself - will be evaluated using the Adaptable parser
SharedQueryIdReference to the Uuid property of existing Shared Query in Query State
tip

This offers the ability to provide an Expression instead of a Predicate:


More Information