PivotGridField.SetFilterValuesAsync(Object[], FieldFilterType, Boolean, AsyncCompletedHandler) Method

Adds the specified filter values to the collection asynchronously.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v21.1.dll


public bool SetFilterValuesAsync(
    object[] values,
    FieldFilterType filterType,
    bool showBlanks,
    AsyncCompletedHandler handler


Name Type Description
values Object[]

An object that represents a collection of field filter values.

filterType FieldFilterType

A FieldFilterType enumeration member that specifies the filter type.

showBlanks Boolean

True, to show blank values; otherwise, false.

handler AsyncCompletedHandler

A AsyncCompletedHandler delegate referencing a method that should be executed after the operation is completed.


Type Description

True, if the field filter was applied; otherwise, false.


The SetFilterValuesAsync method returns false if the field filter is already set to the parameter’s values or if you cancel the filtering when handling the PivotGridControl.FieldFilterChanging event.

To add filter values to the collection in a standard mode, use the PivotGridField.SetFilterValues method.

See Also