Back to Devexpress

ViewProperty.Sorting Property

xpo-devexpress-dot-xpo-dot-viewproperty.md

latest1.3 KB
Original Source

ViewProperty.Sorting Property

Gets or sets the column’s sort order.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
[DefaultValue(SortDirection.None)]
public SortDirection Sorting { get; set; }
vb
<DefaultValue(SortDirection.None)>
Public Property Sorting As SortDirection

Property Value

TypeDefaultDescription
SortDirectionNone

A SortDirection enumeration value which specifies the column’s sort order.

|

Available values:

NameDescription
None

No sorting is performed.

| | Ascending |

Values are sorted in ascending order.

| | Descending |

Values are sorted in descending order.

|

See Also

ViewProperty Class

ViewProperty Members

DevExpress.Xpo Namespace