Skip to main content
Tag

ColumnBase.DefaultSortOrder Property

Gets or sets the initial sort order.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v22.1.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public ListSortDirection DefaultSortOrder { get; set; }

Property Value

Type Description
ListSortDirection

The initial sort order.

Remarks

An end-user can click a column’s header to sort data against the column or to change the column’s sort order. Use the DefaultSortOrder property to specify the initial sort order.

SortingOverview

See Also