Back to Devexpress

CustomColumnSortEventArgs.SortOrder Property

wpf-devexpress-dot-xpf-dot-grid-dot-customcolumnsorteventargs-7f5fc858.md

latest2.0 KB
Original Source

CustomColumnSortEventArgs.SortOrder Property

Gets the sort order applied to the column.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public ColumnSortOrder SortOrder { get; }
vb
Public ReadOnly Property SortOrder As ColumnSortOrder

Property Value

TypeDescription
ColumnSortOrder

A ColumnSortOrder value that specifies the column’s sort order.

|

Available values:

NameDescription
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

SortInfo

CustomColumnSortEventArgs Class

CustomColumnSortEventArgs Members

DevExpress.Xpf.Grid Namespace