Skip to main content

PivotGridControl.FilterString Property

Gets or sets the filter expression used to filter PIvotGridControl’s data. This is an attached property.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

[Browsable(false)]
public string FilterString { get; set; }

Property Value

Type Description
String

A filter expression

Remarks

The FilterString property allows you to specify a filter string:

grid.FilterString = "([OrderDate] < #1/1/2018# AND [UnitPrice] < 10)" +
    " OR ([OrderDate] >= #1/1/2019# AND [UnitPrice] >= 100)";

End users can invoke the Filter Editor to modify filter criteria, and therefore, the FilterString property.

See Also