PivotGridControl.PrefilterCriteria Property

Gets or sets the pivot grid’s prefilter criteria. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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


public CriteriaOperator PrefilterCriteria { get; set; }

Property Value

Type Description

A CriteriaOperator object that represents the prefilter criteria.


Use the PrefilterCriteria property to create a filter expression that consists of multiple conditions applied to multiple fields, and apply it to the PivotGridControl. Setting the PrefilterCriteria property to a new value clears any filters that have been previously applied. To learn more about the criteria syntax, see Pivot Grid Expression Syntax.

To specify the prefliter criteria in the string form, use the PivotGridControl.PrefilterString property. After the criteria has been changed, the PivotGridControl.PrefilterCriteriaChanged event is fired.

To learn more, see Prefilter.

See Also