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

GridSortInfoCollection.GroupCount Property

Gets or sets how many columns are used to group data.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.dll

NuGet Package: DevExpress.Wpf.Grid.Core

#Declaration

[DefaultValue(0)]
public int GroupCount { get; set; }

#Property Value

Type Default Description
Int32 0

An integer value that specifies how many columns are used to group data.

#Remarks

The GroupCount property specifies the number of columns from the beginning of the current collection used to group data. All the subsequent columns will only be used to sort data. If this property is set to 0, all the columns referred to by the collection’s elements will be used to sort data, and none of them will be used for grouping.

See Also