Skip to main content
All docs
V23.2

PivotGridControl.ShowExpressionEditor(PivotGridField, Theme) Method

Invokes the Expression Editor where a user can edit the specified field’s binding expression.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v23.2.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public void ShowExpressionEditor(
    PivotGridField field,
    Theme theme = null
)

Parameters

Name Type Description
field PivotGridField

A calculated field whose expression is edited in the Expression Editor.

Optional Parameters

Name Type Default Description
theme Theme null

The theme for the element.

Remarks

You can allow users to employ the Expression Editor to change specific calculated expressions. To do this, set the PivotGridField.AllowExpressionEditor property to true. The Expression Editor… command appears in this field’s context menu as a result.

wpf-pivot-express-field

You can also call the PivotGridControl.ShowExpressionEditor method to invoke the Expression Editor.

See Also