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.1.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
Declaration
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.