Skip to main content
.NET 6.0+

XPObjectSpace.GetCollectionSorting(Object) Method

Returns the sort settings for a particular collection.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v24.1.dll

NuGet Package: DevExpress.ExpressApp.Xpo

Declaration

public override IList<SortProperty> GetCollectionSorting(
    object collection
)

Parameters

Name Type Description
collection Object

An Object that is the collection whose sort settings are requested.

Returns

Type Description
IList<SortProperty>

A list of SortProperty objects specifying the sort order for the collection.

Remarks

This method is used internally by Collection Sources, and generally, you do not need to use it.

See Also