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

PivotGridFieldBase.PrefilterColumnName Property

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

Namespace: DevExpress.XtraPivotGrid

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

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

Declaration

[Browsable(false)]
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.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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PrefilterColumnName property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also