Skip to main content
.NET 6.0+

SortingCollection.AddRange(SortProperty[]) Method

Adds an array of SortProperty objects to the current collection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public void AddRange(
    SortProperty[] sortProperties
)

Parameters

Name Type Description
sortProperties SortProperty[]

An array of SortProperty objects to add to the collection.

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