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

CustomColumnSortEventArgs.SortOrder Property

Gets the current sort order applied to the column being processed.

Namespace: DevExpress.XtraGrid.Views.Base

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

public ColumnSortOrder SortOrder { get; }

Property Value

Type Description
ColumnSortOrder

A ColumnSortOrder value representing the column’s sort order.

Available values:

Name Description
None

No sorting is applied to a column.

Ascending

Sorts the column in ascending order.

Descending

Sorts the columns in descending order.

Remarks

The SortOrder property indicates the sort order (ascending or descending) applied to the column being processed.

When handling the GridView.CustomColumnGroup event the SortOrder property is always set to ColumnSortOrder.None.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SortOrder property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also