Class
SortChangedEventArgs

Represents event arguments when the sort order is changed.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class SortChangedEventArgs : EventArgs

Inheritance: objectEventArgsSortChangedEventArgs

Inherited Members EventArgs.Empty

Constructors

SortChangedEventArgs(SortChangeType)

Initializes a new instance of the SortChangedEventArgs class.

Declaration

cs-api-definition
public SortChangedEventArgs(SortChangeType sortChangedType)

Parameters

sortChangedType

SortChangeType

Type of the sort changed.

SortChangedEventArgs(SortChangeType, GridSortField)

Initializes a new instance of the SortChangedEventArgs class.

Declaration

cs-api-definition
public SortChangedEventArgs(SortChangeType sortChangedType, GridSortField sortExpression)

Parameters

sortChangedType

SortChangeType

Type of the sort changed.

sortExpression

GridSortField

The sort expression.

SortChangedEventArgs(SortChangeType, GridSortField, GridSortField, int)

Initializes a new instance of the SortChangedEventArgs class.

Declaration

cs-api-definition
public SortChangedEventArgs(SortChangeType sortChangedType, GridSortField oldSortExpression, GridSortField newSortExpression, int index)

Parameters

sortChangedType

SortChangeType

Type of the sort changed.

oldSortExpression

GridSortField

The old sort expression.

newSortExpression

GridSortField

The new sort expression.

index

int

The index.

SortChangedEventArgs(SortChangeType, GridSortField, GridSortField, int, int)

Initializes a new instance of the SortChangedEventArgs class.

Declaration

cs-api-definition
public SortChangedEventArgs(SortChangeType sortChangedType, GridSortField oldSortExpression, GridSortField newSortExpression, int oldIndex, int newIndex)

Parameters

sortChangedType

SortChangeType

Type of the sort changed.

oldSortExpression

GridSortField

The old sort expression.

newSortExpression

GridSortField

The new sort expression.

oldIndex

int

The old index.

newIndex

int

The new index.

SortChangedEventArgs(SortChangeType, GridSortField, int)

Initializes a new instance of the SortChangedEventArgs class.

Declaration

cs-api-definition
public SortChangedEventArgs(SortChangeType sortChangedType, GridSortField sortExpression, int index)

Parameters

sortChangedType

SortChangeType

Type of the sort changed.

sortExpression

GridSortField

The sort expression.

index

int

The index.

SortChangedEventArgs(SortChangeType, GridSortField, int, int)

Initializes a new instance of the SortChangedEventArgs class.

Declaration

cs-api-definition
public SortChangedEventArgs(SortChangeType sortChangedType, GridSortField sortExpression, int oldIndex, int newIndex)

Parameters

sortChangedType

SortChangeType

Type of the sort changed.

sortExpression

GridSortField

The sort expression.

oldIndex

int

The old index.

newIndex

int

The new index.

Fields

NewIndex

Declaration

cs-api-definition
public readonly int NewIndex

Field Value

int

NewSortExpression

Declaration

cs-api-definition
public readonly GridSortField NewSortExpression

Field Value

GridSortField

OldIndex

Declaration

cs-api-definition
public readonly int OldIndex

Field Value

int

OldSortExpression

Declaration

cs-api-definition
public readonly GridSortField OldSortExpression

Field Value

GridSortField

SortChangeType

Declaration

cs-api-definition
public readonly SortChangeType SortChangeType

Field Value

SortChangeType

Properties

Index

Gets the index.

Declaration

cs-api-definition
public int Index { get; }

Property Value

int

The index.

SortExpression

Gets the sort expression.

Declaration

cs-api-definition
public GridSortField SortExpression { get; }

Property Value

GridSortField

The sort expression.