Skip to main content
.NET 6.0+

XPView.Sorting Property

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

#Declaration

public SortingCollection Sorting { get; set; }

#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.

See Also