With class... is used to filter window elements and apply properties based on their class.
Theme property filter XML code:
<StyleSheet xmlns="http://querix.com">
<WithClassFilter>
<StyleSheet />
</WithClassFilter>
</StyleSheet>
Possible values:
one of the list of predefined Lycia classes
a custom (user-defined) class
Associated ui methods:
SetClassNames →
GetClassNames →
Influence and behavior:
With class.. filter allows applying properties to a certain class of elements.
To apply a property to a class of elements, you need:
Step 1. Apply a certain class to the element using classNames, Apply class..., or setClassNames.
At runtime, the property will be applied only to the objects belonging to the specified class.
Here you can see how the properties applied with a With class filter change the runtime appearance of a toolbar button: