Skip to main content

GridColumn.GroupLevel Property

Gets the group level of the current column. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public int GroupLevel { get; }

Property Value

Type Description
Int32

An integer value that specifies the column’s group level. -1 if a View isn’t grouped by the corresponding column.

Remarks

Use the GroupLevel property to get the group level of the current column. When group merging is not applied, the group level is equal to the group index (GridColumn.GroupIndex). When multiple groups are merged, they have the same group level.

WPF_Grid_GroupMergeLevels

See Also