Back to Devexpress

PivotGridControl.ShowExpressionEditor(PivotGridField) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-dot-showexpressioneditor-x28-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-x29.md

latest2.0 KB
Original Source

PivotGridControl.ShowExpressionEditor(PivotGridField) Method

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

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public void ShowExpressionEditor(
    PivotGridField field
)
vb
Public Sub ShowExpressionEditor(
    field As PivotGridField
)

Parameters

NameTypeDescription
fieldPivotGridField

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

|

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

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace