Skip to main content

PivotGridFieldFilterValues.Contains(Object) Method

Returns whether the current filter condition allows displaying the specified value.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v14.2.Core.dll

#Declaration

public bool Contains(
    object value
)

#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 allows displaying the specified value; otherwise, false.

#Remarks

If the PivotGridFieldFilterValues.FilterType is set to Included, the Contains method returns true if the PivotGridFieldFilterValues.Values array contains the specified value.

If the PivotGridFieldFilterValues.FilterType is set to Excluded, the Contains method returns true if the PivotGridFieldFilterValues.Values array does not contain the specified value.

See Also