Skip to main content

SortingInfo.Direction Property

Gets or sets the sort order.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

[DefaultValue(SortingInfo.SortingDirection.Ascending)]
public SortingInfo.SortingDirection Direction { get; set; }

Property Value

Type Default Description
SortingInfo.SortingDirection Ascending

A SortingDirection object that specifies the sort order.

Available values:

Name
Ascending
Descending

Remarks

Use the SortingInfo.Column property to specify the name of the column by whose values the result set is sorted. The SortingInfo.Table property specifies the name of the table containing the required column.

See Also