Class
SortingEventArgs

Provides data for the PreparingSortDescriptors event.

Definition

Namespace:Telerik.Windows.Controls.VirtualGrid

Assembly:Telerik.Windows.Controls.VirtualGrid.dll

Syntax:

cs-api-definition
public class SortingEventArgs : CancelRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsSortingEventArgs

Inherited Members CancelRoutedEventArgs.Cancel

Constructors

SortingEventArgs(SortingState, SortingState, ColumnSortDescriptor, int)

Initializes a new instance of the SortingEventArgs class.

Declaration

cs-api-definition
public SortingEventArgs(SortingState oldSortingState, SortingState newSortingState, ColumnSortDescriptor sortDescriptor, int columnIndex)

Parameters

oldSortingState

SortingState

newSortingState

SortingState

sortDescriptor

ColumnSortDescriptor

columnIndex

int

Properties

ColumnIndex

Gets the sorted column index.

Declaration

cs-api-definition
public int ColumnIndex { get; }

Property Value

int

ColumnSortDescriptor

Gets the column sort descriptor.

Declaration

cs-api-definition
public ColumnSortDescriptor ColumnSortDescriptor { get; }

Property Value

ColumnSortDescriptor

NewSortDirection

Gets or sets the sort direction.

Declaration

cs-api-definition
public SortingState NewSortDirection { get; set; }

Property Value

SortingState

OldSortDirection

Gets the old sort direction.

Declaration

cs-api-definition
public SortingState OldSortDirection { get; }

Property Value

SortingState