PivotGridField.SetFilterValuesAsync(Object[], FieldFilterType, Boolean, AsyncCompletedHandler) Method
Adds the specified filter values to the collection asynchronously.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v24.2.dll
NuGet Package: DevExpress.Wpf.PivotGrid
#Declaration
public bool SetFilterValuesAsync(
object[] values,
FieldFilterType filterType,
bool showBlanks,
AsyncCompletedHandler handler
)
#Parameters
Name | Type | Description |
---|---|---|
values | Object[] | An object that represents a collection of field filter values. |
filter |
Field |
A Field |
show |
Boolean | True, to show blank values; otherwise, false. |
handler | Async |
A Async |
#Returns
Type | Description |
---|---|
Boolean | True, if the field filter was applied; otherwise, false. |
#Remarks
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.