PivotGridControl.ShowExpressionEditor(PivotGridField, Theme) Method
In This Article
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 | Pivot |
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.
You can also call the PivotGridControl.ShowExpressionEditor method to invoke the Expression Editor.
See Also