Back to Devexpress

PivotGridField.AllowExpressionEditor Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-c03edc65.md

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public bool AllowExpressionEditor { get; set; }
vb
Public Property AllowExpressionEditor As Boolean

Property Value

TypeDescription
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

PivotGridField Class

PivotGridField Members

DevExpress.Xpf.PivotGrid Namespace