PivotGridFieldFilterValues.Contains(Object) Method
Indicates whether the current filter condition contains the specified value.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v23.1.Core.dll
NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Dashboard.Design
Declaration
Parameters
Name | Type | Description |
---|---|---|
value | Object | An object that should be located in the PivotGridFieldFilterValues.Values array. |
Returns
Type | Description |
---|---|
Boolean | true if the current filter condition contains the specified value; otherwise, false. |
Remarks
If PivotGridFieldFilterValues.FilterType is set to PivotFilterType.Included, the Contains method returns true if the PivotGridFieldFilterValues.Values array contains the specified value.
If PivotGridFieldFilterValues.FilterType is set to PivotFilterType.Excluded, the Contains method returns true if the PivotGridFieldFilterValues.Values array does not contain the specified value.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Contains(Object) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.