Provides details about the Sorting event.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.GridView.dll
Syntax:
public class GridViewSortingEventArgs : CancelRoutedEventArgs
Inheritance: objectRadRoutedEventArgsCancelRoutedEventArgsGridViewSortingEventArgs
Inherited Members
Constructors
Initializes a new instance of the GridViewSortingEventArgs class.
public GridViewSortingEventArgs(GridViewColumn column, SortingState oldSortingState, SortingState newSortingState)
The associated column.
oldSortingStateSortingStateThe old SortingState.
newSortingStateSortingStateThe new SortingState.
Properties
Gets the associated column.
public GridViewColumn Column { get; }
The column.
Gets the source data control that triggered the sorting event. That is either the RadGridView control or a hierarchy child.
public GridViewDataControl DataControl { get; }
Gets a value indicating whether the current sorting operation is a multiple column one.
public bool IsMultipleColumnSorting { get; }
true if a multiple column sorting is executed; otherwise, false.
Gets or sets the new sorting state.
public SortingState NewSortingState { get; set; }
The new direction of sorting.
Gets the old sorting state.
public SortingState OldSortingState { get; }
The old direction of sorting.