Class SortDescriptorBase
Serves as a base class for sort descriptors.
Inherited Members
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public abstract class SortDescriptorBase : DescriptorBase, ISuspendNotifications, ISortDescriptor, INotifyPropertyChanged
Constructors
SortDescriptorBase()
Declaration
protected SortDescriptorBase()
Fields
SortDirectionProperty
Identifies the SortDirection Dependency Property.
Declaration
public static readonly DependencyProperty SortDirectionProperty
Field Value
System.Windows.DependencyProperty
|
Properties
SortDirection
Gets or sets the sort direction for this descriptor.
Declaration
public virtual ListSortDirection SortDirection { get; set; }
Property Value
System.ComponentModel.ListSortDirection
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
System.Linq.Expressions.Expression
itemExpression
Expression representing an item in a collection. |
Returns
System.Linq.Expressions.Expression
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
System.Linq.Expressions.ParameterExpression
parameterExpression
The parameter expression, which will be used for sorting. |
Returns
System.Linq.Expressions.Expression
Expression that creates a sort key for the given item. |