SortProperty.Direction Property

Gets or sets the property’s sort order.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Data.v21.1.dll

Declaration

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

Property Value

Type Default Description
SortingDirection

Ascending

A SortingDirection enumeration value which specifies the property’s sort order.

Available values:

Name Description
Ascending

A property (column) is sorted in ascending order.

Descending

A property (column) is sorted in descending order.

See Also