Back to Devexpress

TreeListOptionsBehavior.UnboundColumnExpressionEditorMode Property

windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsbehavior-a82346a0.md

latest3.7 KB
Original Source

TreeListOptionsBehavior.UnboundColumnExpressionEditorMode Property

Gets or sets the type of unbound expression editor that end-users can utilize to modify expressions for unbound columns owned by this Tree List control.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
[DefaultValue(ExpressionEditorMode.Default)]
[XtraSerializableProperty]
public virtual ExpressionEditorMode UnboundColumnExpressionEditorMode { get; set; }
vb
<DefaultValue(ExpressionEditorMode.Default)>
<XtraSerializableProperty>
Public Overridable Property UnboundColumnExpressionEditorMode As ExpressionEditorMode

Property Value

TypeDefaultDescription
ExpressionEditorModeDefault

An ExpressionEditorMode enumeration value that specifies the type of unbound expression editor that end-users can utilize to modify expressions for unbound columns owned by this Tree List control.

|

Available values:

NameDescription
Default

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.

| | Standard |

Specifies a legacy version of the Expression editor.

| | AutoComplete |

Specifies a new version of the Expression editor.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to UnboundColumnExpressionEditorMode
TreeList

.OptionsBehavior .UnboundColumnExpressionEditorMode

|

Remarks

If the TreeListColumn.ShowUnboundExpressionMenu setting is enabled, end-users can right-click this unbound column‘s header and click the “Expression Editor…” option.

This will invoke the Unbound Expression Editor dialog, with which end-users can modify an expression used to calculate cell values for this column. The UnboundColumnExpressionEditorMode property specifies the type of this dialog.

  • AutoComplete

  • Standard

  • Default

The UnboundColumnExpressionEditorMode property affects the dialog your end-users utilize. However, you will always work with the legacy dialog at design time.

See the Expression Editor article to learn about all differences between the expression editor types.

See Also

TreeListOptionsBehavior Class

TreeListOptionsBehavior Members

DevExpress.XtraTreeList Namespace