Skip to main content
A newer version of this page is available. .

CustomColumnSortEventArgs(GridColumn, Object, Object, ColumnSortOrder) Constructor

Initializes a new instance of the CustomColumnSortEventArgs class with the specified settings.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public CustomColumnSortEventArgs(
    GridColumn column,
    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.

value1 Object

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

value2 Object

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

sortOrder ColumnSortOrder

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

See Also