Back to Devexpress

GridColumn.GroupLevel Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridcolumn-16100770.md

latest1.6 KB
Original Source

GridColumn.GroupLevel Property

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

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public int GroupLevel { get; }
vb
Public ReadOnly Property GroupLevel As Integer

Property Value

TypeDescription
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.

See Also

AllowMergedGrouping

MergeWithPreviousGroup

GridColumn Class

GridColumn Members

DevExpress.Xpf.Grid Namespace