.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

XPView.Sorting Property

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

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.2.dll

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Sorting property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also