Skip to main content
A newer version of this page is available. .

ColumnView.GroupedColumns Property

Gets the collection of columns involved in data grouping.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

[Browsable(false)]
public GridColumnReadOnlyCollection GroupedColumns { get; }

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. Note that 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 following code snippets (auto-collected from DevExpress Examples) contain references 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.

See Also