Skip to main content

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

Initializes a new instance of the CustomColumnSortEventArgs class.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.1.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public CustomColumnSortEventArgs(
    GridColumn column,
    int listSourceRowIndex1,
    int listSourceRowIndex2,
    object value1,
    object value2,
    ColumnSortOrder sortOrder
)

Parameters

Name Type Description
column GridColumn

A GridColumn object, representing the column that contains the values to compare. This value is assigned to the CustomColumnSortEventArgs.Column property.

listSourceRowIndex1 Int32

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

listSourceRowIndex2 Int32

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

value1 Object

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

value2 Object

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

sortOrder ColumnSortOrder

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

See Also