New to Telerik UI for WPFStart a free 30-day trial

Represents a sorting abstraction that knows how to create sort key expressions.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Syntax:

C#
public interface ISortDescriptor : INotifyPropertyChanged

Derived Classes: ColumnSortDescriptorColumnSortDescriptorSortDescriptorSortDescriptorBaseSortDescriptor<TElement, TKey>

Inherited Members INotifyPropertyChanged.PropertyChanged

Properties

Gets or sets the sort direction for this descriptor.

C#
ListSortDirection SortDirection { get; set; }
Property Value:

The sort direction.

Methods

Creates a sort expression that returns the sorting key for each item in a collection.

C#
Expression CreateSortKeyExpression(Expression itemExpression)
Parameters:itemExpressionExpression

Expression representing an item in a collection.

Returns:

Expression

Expression that creates sort key for the given item.