Skip to main content

PivotGroupFilterValues.SetValues(PivotGroupFilterValuesCollection, PivotFilterType, Boolean) Method

Adds the specified filter values to the collection, and sets the filter type to the specified value.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v24.1.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation


public bool SetValues(
    PivotGroupFilterValuesCollection values,
    PivotFilterType filterType,
    bool allowOnChanged


Name Type Description
values PivotGroupFilterValuesCollection

A PivotGroupFilterValuesCollection object that specifies the collection of group filter values. This object is assigned to the PivotGroupFilterValues.Values property.

filterType PivotFilterType

A PivotFilterType object that specifies the filter type. This value is assigned to the PivotGroupFilterValues.FilterType property.

allowOnChanged Boolean

true to allow raising OnChanged events; otherwise, false.


Type Description

true if the specified values differ from the current ones; otherwise, false.


To add filter values to the collection asynchronously, use the PivotGroupFilterValues.SetValuesAsync method.

See Also