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.SortOrder Property

Gets the sort order applied to the column.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

#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