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.v19.2.dll

Declaration

[Browsable(false)]
public CriteriaOperator PrefilterCriteria { get; set; }
<Browsable(False)>
Public Property PrefilterCriteria As CriteriaOperator

Property Value

Type Description
CriteriaOperator

A CriteriaOperator object that represents the prefilter criteria.

Remarks

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