[]
Describes the grouping of items using a property name as the criterion.
Each group description also specifies a sort direction for the property. For example, if you group the data by Country, the grid will sort the data by country before creating the groups.
public class GroupDescription
Public Class GroupDescription
| Name | Description |
|---|---|
| GroupDescription(string) | Initializes a new instance of a GroupDescription. |
| GroupDescription(string, ListSortDirection?) | Initializes a new instance of a GroupDescription. |
| GroupDescription(string, ListSortDirection?, bool) | Initializes a new instance of a GroupDescription. |
| Name | Description |
|---|---|
| Group | Gets a value that indicates whether to group by this property. Set to false if you want to sort but not group by this property. |
| PropertyName | Gets the name of the property to group on. |
| SortDirection | Gets the sort direction of the property within the group. May be set to null if you want to group but not sort by this property. |