Class
GridViewSortingEventArgs

Provides details about the Sorting event.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public class GridViewSortingEventArgs : CancelRoutedEventArgs

Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsGridViewSortingEventArgs

Inherited Members CancelRoutedEventArgs.Cancel

Constructors

GridViewSortingEventArgs(GridViewColumn, SortingState, SortingState)

Initializes a new instance of the GridViewSortingEventArgs class.

Declaration

cs-api-definition
public GridViewSortingEventArgs(GridViewColumn column, SortingState oldSortingState, SortingState newSortingState)

Parameters

column

GridViewColumn

The associated column.

oldSortingState

SortingState

The old SortingState.

newSortingState

SortingState

The new SortingState.

Properties

Column

Gets the associated column.

Declaration

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

Property Value

GridViewColumn

The column.

DataControl

Gets the source data control that triggered the sorting event. That is either the RadGridView control or a hierarchy child.

Declaration

cs-api-definition
public GridViewDataControl DataControl { get; }

Property Value

GridViewDataControl

IsMultipleColumnSorting

Gets a value indicating whether the current sorting operation is a multiple column one.

Declaration

cs-api-definition
public bool IsMultipleColumnSorting { get; }

Property Value

bool

true if a multiple column sorting is executed; otherwise, false.

NewSortingState

Gets or sets the new sorting state.

Declaration

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

Property Value

SortingState

The new direction of sorting.

OldSortingState

Gets the old sorting state.

Declaration

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

Property Value

SortingState

The old direction of sorting.