Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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