Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

Initializes a new instance of the CustomColumnSortEventArgs class.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.2.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