Gets the nesting level of group rows whose style is to be specified.
A zero-based integer value representing the row nesting level.
When grouping by multiple columns is applied, group rows are arranged into a tree. Each group row's nesting level matches the corresponding grouping column's GridColumn.GroupIndex property value. So, the number of nesting levels is equal to the number of grouping columns.
The image below illustrates group row levels.
Read the Level property value to determine the nesting level of group rows whose style is to be customized. To modify style settings, use the GroupLevelStyleEventArgs.LevelAppearance property.
As stated above, you can use the Level property to obtain the grouping column at the current nesting level. The Level property's value is the column's position within the ColumnView.GroupedColumns collection.