[]
Initializes a new instance of a GroupDescription.
public GroupDescription(string propertyName)
Public Sub New(propertyName As String)
| Type | Name | Description |
|---|---|---|
| string | propertyName | Name of the property to group on. |
Initializes a new instance of a GroupDescription.
public GroupDescription(string propertyName, ListSortDirection? sortDirection)
Public Sub New(propertyName As String, sortDirection As ListSortDirection?)
| Type | Name | Description |
|---|---|---|
| string | propertyName | Name of the property to group on. |
| ListSortDirection? | sortDirection | Sort direction to apply within the group. Defaults to Ascending, may be set to null to group but not sort by this property. |
Initializes a new instance of a GroupDescription.
public GroupDescription(string propertyName, ListSortDirection? sortDirection, bool group)
Public Sub New(propertyName As String, sortDirection As ListSortDirection?, group As Boolean)
| Type | Name | Description |
|---|---|---|
| string | propertyName | Name of the property to group on. |
| ListSortDirection? | sortDirection | Sort direction to apply within the group. Defaults to Ascending, may be set to null to group but not sort by this property. |
| bool | group | Whether to group by this property. Defaults to true, set to false if you want to sort but not group by this property. |