GroupRowStyleSelector
You can use RadGridView's GroupRowStyleSelector property if you need to style group rows differently based on a specific condition.
Bear in mind that the GroupRowStyle takes precedence over the GroupRowStyleSelector and will overwrite it if both are defined simultaneously.
To achieve this, first create a new class that inherits from the StyleSelector class and override its SelectStyle method:
Example 1: The GroupRowStyleSelector class
In the XAML file, define the style selector as a resource and set the properties of the BigGroupStyle and SmallGroupStyle:
Example 2: Setting the BigGroupStyle and SmallGroupStyle
If you're using GroupRenderMode="Nested" the style should target the GridViewGroupRow element.
The "my:" prefix before GroupRowStyleSelector specifies the mapping for the namespace of the project: xmlns:my="..."
Finally, set the GroupRowStyleSelector property: