PivotGridField.PrefilterColumnName Property
In This Article
Gets the name by which the field is referred to in the Prefilter expression.
Namespace: DevExpress.Xpf.PivotGrid
Assembly: DevExpress.Xpf.PivotGrid.v14.2.dll
#Declaration
#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 Criteria Language Syntax.
See Also