PivotGridFieldBase.PrefilterColumnName Property
Gets the name by which the field is referred to in the Prefilter expression.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v21.2.Core.dll
NuGet Package: DevExpress.PivotGrid.Core
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.Prefilter.CriteriaString = "[" + fieldCategory.PrefilterColumnName + "] Like 'B%'";
To specify a Prefilter expression, use the BaseFilter.Criteria or BaseFilter.CriteriaString property.
To learn more, see Prefilter and Pivot Grid Expression Syntax.
See Also