Class
ColumnSortDescriptor

Represents a sort descriptor, which sorts by the value of its Column.

Definition

Namespace:Telerik.Windows.Controls.GridView

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public class ColumnSortDescriptor : SortDescriptorBase, ISuspendNotifications, ISortDescriptor, INotifyPropertyChanged

Inheritance: objectInheritanceContextPropagatorDescriptorBaseSortDescriptorBaseColumnSortDescriptor

Implements: INotifyPropertyChangedISortDescriptorISuspendNotifications

Inherited Members SortDescriptorBase.SortDirectionPropertySortDescriptorBase.CreateSortKeyExpression(Expression)SortDescriptorBase.SortDirectionDescriptorBase.OnPropertyChanged(PropertyChangedEventArgs)DescriptorBase.OnPropertyChanged(string)DescriptorBase.SuspendNotifications()DescriptorBase.ResumeNotifications()DescriptorBase.NotificationsSuspendedDescriptorBase.PropertyChangedInheritanceContextPropagator.CreateInstanceCore()InheritanceContextPropagator.FreezeCore(bool)

Constructors

ColumnSortDescriptor()

Declaration

cs-api-definition
public ColumnSortDescriptor()

Fields

ColumnProperty

The backing DependencyProperty storage for the Column property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnProperty

Field Value

DependencyProperty

Properties

Column

Gets or sets the column that will be used for sorting.

Declaration

cs-api-definition
public GridViewColumn Column { get; set; }

Property Value

GridViewColumn

The column that will be used for sorting.

Methods

CreateSortKeyExpression(ParameterExpression)

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

Declaration

cs-api-definition
protected override Expression CreateSortKeyExpression(ParameterExpression parameterExpression)

Parameters

parameterExpression

ParameterExpression

The parameter expression, which will be used for sorting.

Returns

Expression

Expression that creates a sort key for the given item.

Overrides SortDescriptorBase.CreateSortKeyExpression(ParameterExpression)