Back to Devexpress

PivotGridControl.ShowExpressionEditor(PivotGridField, Theme) Method

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

latest2.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public void ShowExpressionEditor(
    PivotGridField field,
    Theme theme = null
)
vb
Public Sub ShowExpressionEditor(
    field As PivotGridField,
    theme As Theme = Nothing
)

Parameters

NameTypeDescription
fieldPivotGridField

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

|

Optional Parameters

NameTypeDefaultDescription
themeThemenull

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

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace