Skip to main content
All docs
V24.1
Tag

PivotGridField.AllowExpressionEditor Property

Gets or sets whether a user can open the Expression Editor dialog for the current field in the context menu.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public bool AllowExpressionEditor { get; set; }

Property Value

Type Description
Boolean

true if a user can open the Expression Editor dialog for the current field in a context menu; otherwise, false.

Remarks

You can allow users to edit or create new custom expressions in the Expression Editor at runtime. To accomplish this, set the AllowExpressionEditor property to true to add the Expression Editor command in the field’s context menu or call the PivotGridControl.ShowExpressionEditor method to invoke the Expression Editor.

Use the PivotGridOptionsBehavior.ExpressionEditorMode property to specify the Expression Editor’s version.

See Also