ColumnSortDescriptor
Class
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:
C#
public class ColumnSortDescriptor : SortDescriptorBase, ISuspendNotifications, ISortDescriptor, INotifyPropertyChanged
Inheritance: objectInheritanceContextPropagatorDescriptorBaseSortDescriptorBaseColumnSortDescriptor
Implements:
Inherited Members
Constructors
C#
public ColumnSortDescriptor()
Fields
ColumnProperty
DependencyProperty
The backing DependencyProperty storage for the Column property.
C#
public static readonly DependencyProperty ColumnProperty
Properties
Gets or sets the column that will be used for sorting.
C#
public GridViewColumn Column { get; set; }
The column that will be used for sorting.
Methods
Creates a sort expression that returns the sorting key for each item in a collection.
C#
protected override Expression CreateSortKeyExpression(ParameterExpression parameterExpression)
The parameter expression, which will be used for sorting.
Returns:Expression that creates a sort key for the given item.
Overrides: