Skip to main content

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.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

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

Parameters

Name Type Description
column GridColumnBase

A GridColumnBase descendant that represents 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