Skip to main content

SortingInfo.Direction Property

Gets or sets the sort order.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.2.dll

Declaration

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

Property Value

Type Default Description
DevExpress.DataAccess.Sql.SortingInfo.SortingDirection Ascending

A SortingDirection object that specifies the sort order.

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