PivotGridFieldBase.PrefilterColumnName Property

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

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v20.1.Core.dll

Declaration

[Browsable(false)]
public string PrefilterColumnName { get; }
<Browsable(False)>
Public ReadOnly Property PrefilterColumnName As String

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