Skip to main content

ColumnView.GroupedColumns Property

Gets the collection of columns involved in data grouping.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation


public GridColumnReadOnlyCollection GroupedColumns { get; }

Property Value

Type Description

A GridColumnReadOnlyCollection object representing a read-only collection of columns involved in grouping.


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.


The GroupedColumns collection contains only the first group column for merged group columns.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GroupedColumns property.


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.

See Also