Skip to main content

GridSortInfoCollection.GroupCount Property

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

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.1.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