.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

XPView.Sorting Property

Provides access to the collection whose elements identify the sorted columns within the view.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v19.2.dll

Declaration

public SortingCollection Sorting { get; set; }
Public Property Sorting As SortingCollection

Property Value

Type Description
SortingCollection

A SortingCollection object which contains information on the sorted columns within the view.

Remarks

When using the Sorting property to sort persistent objects, sorting is performed on a client. Data is fetched from a data store and then sorted. Use a view property's ViewProperty.Sorting property to sort objects at the data source level.

To learn more, see Sorting Basics.

See Also