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

GridColumn.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.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[DefaultValue(false)]
[DXCategory("Data")]
[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 GridColumn.UnboundExpression property. If the ShowUnboundExpressionMenu option is enabled, a new menu item (Expression Editor…) is added in the context menu for this column:

UnboundExpressionEditorMenu

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 ColumnView.ShowUnboundExpressionEditor method.

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

See Also