CustomColumnSortEventArgs(GridColumnBase, Int32, Int32, Object, Object, ColumnSortOrder) Constructor

Initializes a new instance of the CustomColumnSortEventArgs class.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v18.1.dll

Declaration

public CustomColumnSortEventArgs(
    GridColumnBase column,
    int listSourceRowIndex1,
    int listSourceRowIndex2,
    object value1,
    object value2,
    ColumnSortOrder sortOrder
)
Public Sub New(
    column As GridColumnBase,
    listSourceRowIndex1 As Integer,
    listSourceRowIndex2 As Integer,
    value1 As Object,
    value2 As Object,
    sortOrder As ColumnSortOrder
)

Parameters

Type Name Description
GridColumnBase column

A GridColumnBase descendant that represents the column that contains the values to compare. This value is assigned to the CustomColumnSortEventArgs.Column property.

Int32 listSourceRowIndex1

An integer value that specifies the first row's index in the data source. This value is assigned to the CustomColumnSortEventArgs.ListSourceRowIndex1 property.

Int32 listSourceRowIndex2

An integer value that specifies the second row's index in the data source. This value is assigned to the CustomColumnSortEventArgs.ListSourceRowIndex2 property.

Object value1

An object that represents the first of the two values being compared. This value is assigned to the CustomColumnSortEventArgs.Value1 property.

Object value2

An object that represents the second of the two values being compared. This value is assigned to the CustomColumnSortEventArgs.Value2 property.

ColumnSortOrder sortOrder

A ColumnSortOrder value that specifies the sort order applied to the specified column. This value is assigned to the CustomColumnSortEventArgs.SortOrder property.