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, Object, Object, ColumnSortOrder) Constructor

In This Article

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

Namespace: DevExpress.XtraGrid.Views.Base

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