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

#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 DevExpress.XtraPivotGrid.PivotFilterType enumeration member 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