Skip to main content
A newer version of this page is available. .

GridView.GroupLevelStyle Event

Enables you to specify custom styles for group rows (and corresponding indents) residing at particular nesting levels.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.1.dll


public event GroupLevelStyleEventHandler GroupLevelStyle

Event Data

The GroupLevelStyle event's data class is GroupLevelStyleEventArgs. The following properties provide information specific to this event:

Property Description
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.

See Also