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.v20.2.dll
NuGet Packages: DevExpress.WindowsDesktop.Wpf.PivotGrid, DevExpress.Wpf.PivotGrid
Declaration
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.