CustomColumnSortEventArgs.SortOrder Property

Gets the sort order applied to the column.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.2.dll

Declaration

public ColumnSortOrder SortOrder { get; }

Property Value

Type Description
ColumnSortOrder

A ColumnSortOrder value that specifies 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. The column whose values are being compared is returned by the CustomColumnSortEventArgs.Column property.

The SortOrder property always returns None for the GridControl.CustomColumnGroup event.

To learn more on data sorting, see Sorting and Sorting Modes and Custom Sorting.

See Also