Class
GridViewCustomSortingEventArgs

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridViewCustomSortingEventArgs : EventArgs

Inheritance: objectEventArgsGridViewCustomSortingEventArgs

Inherited Members EventArgs.Empty

Constructors

GridViewCustomSortingEventArgs(GridViewTemplate, GridViewRowInfo, GridViewRowInfo)

Initializes a new instance of the GridViewCustomSortingEventArgs class.

Declaration

cs-api-definition
public GridViewCustomSortingEventArgs(GridViewTemplate template, GridViewRowInfo row1, GridViewRowInfo row2)

Parameters

template

GridViewTemplate

The grid view template.

row1

GridViewRowInfo

The row info1.

row2

GridViewRowInfo

The row info2.

GridViewCustomSortingEventArgs(GridViewTemplate, GridViewRowInfo, GridViewRowInfo, int)

Initializes a new instance of the GridViewCustomSortingEventArgs class.

Declaration

cs-api-definition
public GridViewCustomSortingEventArgs(GridViewTemplate template, GridViewRowInfo row1, GridViewRowInfo row2, int sortResult)

Parameters

template

GridViewTemplate

The template.

row1

GridViewRowInfo

The row1.

row2

GridViewRowInfo

The row2.

sortResult

int

The sort result.

Properties

Handled

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

Declaration

cs-api-definition
public bool Handled { get; set; }

Property Value

bool

true if handled; otherwise, false.

Row1

Gets the first row to compare

Declaration

cs-api-definition
public GridViewRowInfo Row1 { get; }

Property Value

GridViewRowInfo

Row2

Gets the second row to compare

Declaration

cs-api-definition
public GridViewRowInfo Row2 { get; }

Property Value

GridViewRowInfo

SortResult

Gets or sets the sorting result.

Declaration

cs-api-definition
public int SortResult { get; set; }

Property Value

int

Template

Gets the template.

Declaration

cs-api-definition
public GridViewTemplate Template { get; }

Property Value

GridViewTemplate

The template.