Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TreeListColumn.ShowUnboundExpressionMenu Property

Gets or sets whether an end-user can open an Expression Editor for the current unbound column, using a context menu.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v24.2.dll

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

#Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public bool ShowUnboundExpressionMenu { get; set; }

#Property Value

Type Default Description
Boolean false

true if an end-user can open an Expression Editor for the current unbound column, using a context menu; otherwise, false.

#Remarks

Unbound columns can be populated with data by specifying an expression via the TreeListColumn.UnboundExpression property. If the ShowUnboundExpressionMenu option is enabled, a new menu item (Expression Editor…) is added in the context menu for this column:

treelist_expressioneditor

The user can select this menu command to edit the column’s expression via the Expression Editor:

ExpressionEditor

For information on the syntax of expressions, see Expressions.

If the ShowUnboundExpressionMenu option is disabled, the Expression Editor can be opened in code, by calling the TreeList.ShowUnboundExpressionEditor method.

Refer to the Unbound Columns topic, to learn about creating unbound columns and other ways of populating them with data.

See Also