Skip to main content
All docs
V18.2

FilterConditionCollection.AddRange(FilterCondition[]) Method

Adds an array of filter condition objects.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v18.2.dll

Declaration

public void AddRange(
    FilterCondition[] conditions
)

Parameters

Name Type Description
conditions FilterCondition[]

An array of FilterCondition objects to be added to the collection.

Remarks

Note that this method uses the FormatConditionCollectionBase.BeginUpdate and FormatConditionCollectionBase.EndUpdate methods to prevent the collection from being updated until all items from the array have been added. Items are added to the end of the collection in the same order as they appear in the array.

If you need to add an individual filter condition object, use the TreeListColumnCollection.Add method. To remove a filter condition object from the collection, use the FormatConditionCollectionBase.Remove method.

See Also