SortDescriptorBase
Serves as a base class for sort descriptors.
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Data.dll
Syntax:
public abstract class SortDescriptorBase : DescriptorBase, ISuspendNotifications, ISortDescriptor, INotifyPropertyChanged
Inheritance: objectInheritanceContextPropagatorDescriptorBaseSortDescriptorBase
Derived Classes:
Implements:
Inherited Members
Constructors
protected SortDescriptorBase()
Fields
SortDirectionProperty
DependencyProperty
Identifies the SortDirection Dependency Property.
public static readonly DependencyProperty SortDirectionProperty
Properties
Gets or sets the sort direction for this descriptor.
public virtual ListSortDirection SortDirection { get; set; }
The sort direction.
Implements:
Methods
Creates a sort expression that returns the sorting key for each item in a collection.
public virtual Expression CreateSortKeyExpression(Expression itemExpression)
Expression representing an item in a collection.
Returns:Expression that creates sort key for the given item.
Implements:
Creates a sort expression that returns the sorting key for each item in a collection.
protected virtual Expression CreateSortKeyExpression(ParameterExpression parameterExpression)
The parameter expression, which will be used for sorting.
Returns:Expression that creates a sort key for the given item.