ClassSortDescriptorBase
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
SortDescriptorBase()
Declaration
protected SortDescriptorBase()
Fields
SortDirectionProperty
Identifies the SortDirection Dependency Property.
Declaration
public static readonly DependencyProperty SortDirectionProperty
Field Value
DependencyProperty
Properties
SortDirection
Gets or sets the sort direction for this descriptor.
Declaration
public virtual ListSortDirection SortDirection { get; set; }
Property Value
The sort direction.
Implements
Methods
CreateSortKeyExpression(Expression)
Creates a sort expression that returns the sorting key for each item in a collection.
Declaration
public virtual Expression CreateSortKeyExpression(Expression itemExpression)
Parameters
itemExpression
Expression representing an item in a collection.
Returns
Expression that creates sort key for the given item.
Implements
CreateSortKeyExpression(ParameterExpression)
Creates a sort expression that returns the sorting key for each item in a collection.
Declaration
protected virtual Expression CreateSortKeyExpression(ParameterExpression parameterExpression)
Parameters
parameterExpression
The parameter expression, which will be used for sorting.
Returns
Expression that creates a sort key for the given item.