SortingCollection.AddRange(SortProperty[]) Method
In This Article
Adds an array of SortProperty objects to the current collection.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
NuGet Package: DevExpress.Xpo
#Declaration
public void AddRange(
SortProperty[] sortProperties
)
#Parameters
Name | Type | Description |
---|---|---|
sort |
Sort |
An array of Sort |
#Remarks
Adding an element(s) to the collection doesn’t automatically apply sorting by the corresponding property (column). To re-sort data, create a new SortingCollection object, populate it with customized SortProperty objects and reassign it to the XPBaseCollection.Sorting property.
See Also