Skip to main content
A newer version of this page is available. .

TreeListColumn.UnboundExpression Property

Gets or sets an expression used to evaluate values for the current unbound column.

Namespace: DevExpress.XtraTreeList.Columns

Assembly: DevExpress.XtraTreeList.v18.2.dll

Declaration

[DXCategory("Data")]
[DefaultValue("")]
[XtraSerializableProperty]
public string UnboundExpression { get; set; }

Property Value

Type Default Description
String String.Empty

A String that specifies an expression used to evaluate values for this column.

Remarks

Unbound columns can be populated with the TreeList.CustomUnboundColumnData event, or by setting the UnboundExpression property to a string expression used to evaluate values for the current column. The Expressions section describes the syntax for creating expressions.

When using expressions, data entered by end-users cannot be saved. To save data, use the TreeList.CustomUnboundColumnData event.

If the TreeListColumn.ShowUnboundExpressionMenu option is enabled, an end-user can edit a column expression via the Expression Editor at runtime. See TreeListColumn.ShowUnboundExpressionMenu, for more information.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the UnboundExpression property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also