Skip to main content
.NET Framework 4.6.2+

SortingCollection.AddRange(SortProperty[]) Method

Adds an array of SortProperty objects to the current collection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.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