SortDescription<T> Class
Defines a sort that can be applied to a CollectionView<T>.
public class SortDescription<T>
- Type Parameters:
-
T
-The type.
- Inheritance:
- object object
Remarks
This experimental class is subject to breaking changes and should only be used in conjunction with Actipro controls in the manner directed.
Constructors
SortDescription(Func<T, object?>, ListSortDirection)
Initializes an instance of the class.
public SortDescription(Func<T, object?> keySelector, ListSortDirection direction = ListSortDirection.Ascending)
Parameter | Type | Description |
---|---|---|
keySelector | Func<T, object> | The selector which will return the key to be used for sorting. |
direction | ListSortDirection | The sort direction. |
Properties
SortDirection
The sort direction.
SortKeySelector
The selector which will return the key to be used for sorting.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()