GridColumn.GroupLevel Property
Gets the group level of the current column. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v19.1.dll
Declaration
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GroupLevel property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.