Class SortExpression<T>
- Namespace
- DynamicData.Binding
- Assembly
- DynamicData.dll
A value expression with sort direction.
public class SortExpression<T>
Type Parameters
T
The type of the item.
- Inheritance
-
SortExpression<T>
Remarks
Initializes a new instance of the SortExpression<T> class.
Constructors
SortExpression(Func<T, IComparable>, SortDirection)
A value expression with sort direction.
public SortExpression(Func<T, IComparable> expression, SortDirection direction = SortDirection.Ascending)
Parameters
expression
Func<T, IComparable>The expression.
direction
SortDirectionThe direction.
Remarks
Initializes a new instance of the SortExpression<T> class.
Properties
Direction
Gets the direction.
public SortDirection Direction { get; }
Property Value
Expression
Gets the expression.
public Func<T, IComparable> Expression { get; }
Property Value
- Func<T, IComparable>