.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

SortingCollection.AddRange(SortProperty[]) Method

Adds an array of SortProperty objects to the current collection.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v21.1.dll


public void AddRange(
    SortProperty[] sortProperties


Name Type Description
sortProperties SortProperty[]

An array of SortProperty objects to add to the collection.


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