BaseObjectSpace.GetCollectionSorting(Object) Method
In This Article
Returns the sort settings for a particular collection.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v24.2.dll
NuGet Package: DevExpress.ExpressApp
#Declaration
public virtual 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<Sort |
A list of Sort |
#Remarks
In BaseObjectSpace, this method always returns null, but this behavior is overridden in descendants (see EFCoreObjectSpace.GetCollectionSorting and XPObjectSpace.GetCollectionSorting).
#Implements
See Also