ColumnView.GroupedColumns Property
Gets the collection of columns involved in data grouping.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.2.dll
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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GroupedColumns 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.