FilterConditionCollection.Add(FilterCondition) Method
Adds the specified filter condition object to the end of the collection.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v18.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
condition | FilterCondition | A FilterCondition object to be added to the collection. |
Remarks
When adding several filter condition objects, consider using the FormatConditionCollectionBase.BeginUpdate and FormatConditionCollectionBase.EndUpdate methods. This will prevent the collection from being updated until all items have been added. Alternatively, you can use the FilterConditionCollection.AddRange method. This method allows you to add an array of filter condition objects at once.
To remove a filter condition from the collection, use the FormatConditionCollectionBase.Remove method.
See Also