Back to Devexpress

GridSortInfoCollection.GroupCount Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridsortinfocollection.md

latest1.6 KB
Original Source

GridSortInfoCollection.GroupCount Property

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

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[DefaultValue(0)]
public int GroupCount { get; set; }
vb
<DefaultValue(0)>
Public Property GroupCount As Integer

Property Value

TypeDefaultDescription
Int320

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

GroupCount

GroupIndex

GridSortInfoCollection Class

GridSortInfoCollection Members

DevExpress.Xpf.Grid Namespace