Skip to main content
A newer version of this page is available.
Tag

PivotGridField.PrefilterColumnName Property

Gets the name by which the field is referred to in the Prefilter expression.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.PivotGrid, DevExpress.Wpf.PivotGrid

Declaration

public string PrefilterColumnName { get; }

Property Value

Type Description
String

A String, specifying the name by which the field is referred to in the Prefilter expression.

Remarks

When you create a Prefilter expression in code, use the PrefilterColumnName property to refer to a field. The sample below shows how to do it:

pivotgridControl1.PrefilterString = "[" + fieldCategory.PrefilterColumnName + "] Like 'B%'";

To specify a Prefilter expression, use the PivotGridControl.PrefilterCriteria or PivotGridControl.PrefilterString property.

To learn more, see Prefilter and Pivot Grid Expression Syntax.

See Also