Tag

ColumnBase.DefaultSortOrder Property

Gets or sets the initial sort order.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public ListSortDirection DefaultSortOrder { get; set; }
Public Property DefaultSortOrder As ListSortDirection

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