Skip to main content
A newer version of this page is available. .

SortingCollection.AddRange(SortProperty[]) Method

Adds an array of SortProperty objects to the current collection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v18.2.dll

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