ColumnView.GroupedColumns Property
Gets the collection of columns involved in data grouping.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v26.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
Property Value
| Type | Description |
|---|---|
| GridColumnReadOnlyCollection | A GridColumnReadOnlyCollection object representing a read-only collection of columns involved in grouping. |
Remarks
When grouping data by values of a column, the column is automatically added to the GroupedColumns collection. When canceling grouping by this column’s values, the column is removed from the collection. The column’s position within the collection matches the column’s GridColumn.GroupIndex property value.
To access all columns within a view, use the ColumnView.Columns property.
Note
The GroupedColumns collection contains only the first group column for merged group columns.