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.v21.1.dll

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