Supplies the two rows being compared to a custom sorting handler. Set SortResult to provide the comparison result, or set Handled to false to use the default comparer.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewCustomSortingEventArgs : EventArgs
Inheritance: objectEventArgsGridViewCustomSortingEventArgs
Inherited Members
Constructors
Initializes a new instance of the GridViewCustomSortingEventArgs class.
public GridViewCustomSortingEventArgs(GridViewTemplate template, GridViewRowInfo row1, GridViewRowInfo row2, int sortResult)
The template.
row1GridViewRowInfoThe row1.
row2GridViewRowInfoThe row2.
sortResultintThe sort result.
Initializes a new instance of the GridViewCustomSortingEventArgs class.
public GridViewCustomSortingEventArgs(GridViewTemplate template, GridViewRowInfo row1, GridViewRowInfo row2)
The grid view template.
row1GridViewRowInfoThe row info1.
row2GridViewRowInfoThe row info2.
Properties
Gets or sets a value indicating whether this GridViewCustomSortingEventArgs is handled.
public bool Handled { get; set; }
true if handled; otherwise, false.
Gets the first row to compare
public GridViewRowInfo Row1 { get; }
Gets the second row to compare
public GridViewRowInfo Row2 { get; }
Gets or sets the sorting result.
public int SortResult { get; set; }
Gets the template.
public GridViewTemplate Template { get; }
The template.