PivotGroupFilterValuesCollection.Add(PivotGroupFilterValue) Method

Adds the specified filter value to the collection.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.2.Core.dll


public void Add(
    PivotGroupFilterValue value
Public Sub Add(
    value As PivotGroupFilterValue


Name Type Description
value PivotGroupFilterValue

A PivotGroupFilterValue object representing the filter value that should be added to the collection.


Several filter values cannot correspond to a single field value. If a filter value corresponding to the same field value (with the same DevExpress.XtraPivotGrid.PivotFilterValue.Value) is already contained in the collection, an exception is thrown. To obtain whether a particular field value is already represented in the collection, use the PivotGroupFilterValuesCollection.ContainsValue method.

To remove a filter value from the collection, use the PivotGroupFilterValuesCollection.Remove method.

See Also