Back to Devexpress

GridSortInfo.SortOrder Property

wpf-devexpress-dot-xpf-dot-grid-dot-gridsortinfo-3c62d144.md

latest1.4 KB
Original Source

GridSortInfo.SortOrder Property

Gets or sets the column’s sort order. This is a dependency property.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public ListSortDirection SortOrder { get; set; }
vb
Public Property SortOrder As ListSortDirection

Property Value

TypeDescription
ListSortDirection

A ListSortDirection enumeration value that specifies the sort order.

|

Remarks

To toggle a column’s sort order, use the GridSortInfo.ChangeSortOrder method. To learn more, see Sorting in Code.

See Also

GridSortInfo Class

GridSortInfo Members

DevExpress.Xpf.Grid Namespace