Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GridColumnSortInfoCollection.GroupCount Property

Gets or sets how many of the elements starting from the beginning of the collection refer to columns used to group data.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#Declaration

public int GroupCount { get; set; }

#Property Value

Type Description
Int32

An integer specifying the number of grouping columns.

#Remarks

The GroupCount property specifies the number of the elements starting from the beginning of the collection which refer to the columns used to group data. All the subsequent elements refer to the columns used to sort data. If this property is set to 0 all the columns in the collection are only used to sort data (not for grouping).

Note: Card Views do not support data grouping. Setting this property has no effect for Card Views.

See Also