Class
ColumnSortDescriptor

Represents a sort descriptor that contains the information for sorting a specific column.

Definition

Namespace:Telerik.Windows.Controls.VirtualGrid

Assembly:Telerik.Windows.Controls.VirtualGrid.dll

Syntax:

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

Inheritance: objectInheritanceContextPropagatorDescriptorBaseSortDescriptorBaseColumnSortDescriptor

Implements: INotifyPropertyChangedISortDescriptorISuspendNotifications

Inherited Members SortDescriptorBase.SortDirectionPropertyDescriptorBase.OnPropertyChanged(PropertyChangedEventArgs)DescriptorBase.OnPropertyChanged(string)DescriptorBase.SuspendNotifications()DescriptorBase.ResumeNotifications()DescriptorBase.NotificationsSuspendedDescriptorBase.PropertyChangedInheritanceContextPropagator.CreateInstanceCore()InheritanceContextPropagator.FreezeCore(bool)

Constructors

ColumnSortDescriptor(string, Type)

Initializes a new instance of the ColumnSortDescriptor class.

Declaration

cs-api-definition
public ColumnSortDescriptor(string memberName, Type dataType)

Parameters

memberName

string

dataType

Type

Properties

IsActive

Gets or sets a value that indicates whether the sort descriptor should be applied.

Declaration

cs-api-definition
public bool IsActive { get; set; }

Property Value

bool

SortDirection

Gets or sets descriptor's sort direction.

Declaration

cs-api-definition
public override ListSortDirection SortDirection { get; set; }

Property Value

ListSortDirection

Overrides SortDescriptorBase.SortDirection

Methods

CreateSortKeyExpression(Expression)

Create sort expression.

Declaration

cs-api-definition
public override Expression CreateSortKeyExpression(Expression itemExpression)

Parameters

itemExpression

Expression

Returns

Expression

Overrides SortDescriptorBase.CreateSortKeyExpression(Expression)

CreateSortKeyExpression(ParameterExpression)

Create sort expression.

Declaration

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

Parameters

parameterExpression

ParameterExpression

Returns

Expression

Overrides SortDescriptorBase.CreateSortKeyExpression(ParameterExpression)