Skip to main content

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.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

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