Enables you to specify custom styles for group rows (and corresponding indents) residing at particular nesting levels.
[DXCategory("Appearance")] public event GroupLevelStyleEventHandler GroupLevelStyle
<DXCategory("Appearance")> Public Event GroupLevelStyle As GroupLevelStyleEventHandler
The GroupLevelStyle event's data class is GroupLevelStyleEventArgs. The following properties provide information specific to this event:
|Level||Gets the nesting level of group rows whose style is to be specified.|
|LevelAppearance||Gets the appearance settings applied to the group rows located at the current nesting level.|
Handle the GroupLevelStyle event to provide different styles for group rows and corresponding indents depending on the group row level. The current grouping level is identified by the GroupLevelStyleEventArgs.Level parameter. To customize appearance settings of particular group rows and indents use the GroupLevelStyleEventArgs.LevelAppearance parameter.
Note: group indents are regions displayed below group expand buttons when group rows are expanded.
The GridView.CustomDrawGroupRow event enables you to provide styles for individual group rows (or paint each individual group row manually). However, this event does not allow you to change the group indents’ appearance.