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.v23.2.Core.dll

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

Declaration

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

Parameters

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.

Returns

Type Description
Boolean

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

Remarks

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

See Also