PivotGridOptionsBehavior.ExpressionEditorMode Property

Gets or sets the type of editor that end-users can invoke to modify expressions for unbound fields.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.XtraPivotGrid.v21.2.dll


public ExpressionEditorMode ExpressionEditorMode { get; set; }

Property Value

Type Default Description


An ExpressionEditorMode object that specifies the editor type.

Available values:

Name Description

Editor version depends on the WindowsFormsSettings.DefaultSettingsCompatibilityMode value. If its value is v16 or less, it is the legacy version; otherwise, the new version is used.


Specifies a legacy version of the Expression editor.


Specifies a new version of the Expression editor.

Property Paths

You can access this nested property as listed below:

Object Type Path to ExpressionEditorMode


To switch to a new version of the Expression Editor, set the ExpressionEditorMode property to ExpressionEditorMode.AutoComplete.

To allow end-users to edit unbound field expressions, set the PivotGridFieldOptionsEx.ShowUnboundExpressionMenu property to true. This adds the Expression Editor… command to this field’s context menu.

In code, call the PivotGridControl.ShowUnboundExpressionEditor method to invoke the Expression Editor.

See Also