New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class GridViewCustomSortingEventArgs : EventArgs

Inheritance: objectEventArgsGridViewCustomSortingEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the GridViewCustomSortingEventArgs class.

C#
public GridViewCustomSortingEventArgs(GridViewTemplate template, GridViewRowInfo row1, GridViewRowInfo row2, int sortResult)
Parameters:templateGridViewTemplate

The template.

row1GridViewRowInfo

The row1.

row2GridViewRowInfo

The row2.

sortResultint

The sort result.

Initializes a new instance of the GridViewCustomSortingEventArgs class.

C#
public GridViewCustomSortingEventArgs(GridViewTemplate template, GridViewRowInfo row1, GridViewRowInfo row2)
Parameters:templateGridViewTemplate

The grid view template.

row1GridViewRowInfo

The row info1.

row2GridViewRowInfo

The row info2.

Properties

Gets or sets a value indicating whether this GridViewCustomSortingEventArgs is handled.

C#
public bool Handled { get; set; }
Property Value:

true if handled; otherwise, false.

Gets the first row to compare

C#
public GridViewRowInfo Row1 { get; }

Gets the second row to compare

C#
public GridViewRowInfo Row2 { get; }

Gets or sets the sorting result.

C#
public int SortResult { get; set; }

Gets the template.

C#
public GridViewTemplate Template { get; }
Property Value:

The template.