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

OptionsColumn.ShowInExpressionEditor Property

Gets or sets whether the current column is available in the field list in the Expression Editor.

Namespace: DevExpress.XtraGrid.Columns

Assembly: DevExpress.XtraGrid.v19.1.dll

Declaration

[DefaultValue(true)]
[XtraSerializableProperty]
public bool ShowInExpressionEditor { get; set; }

Property Value

Type Default Description
Boolean **true**

true if the current column is available in the field list in the Expression Editor; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowInExpressionEditor
GridColumn
.OptionsColumn.ShowInExpressionEditor
LayoutViewColumn
.OptionsColumn.ShowInExpressionEditor
BandedGridColumn
.OptionsColumn.ShowInExpressionEditor

Remarks

It is possible to specify expressions for unbound columns via the GridColumn.UnboundExpression property. An end-user can edit these expressions at runtime via an Expression Editor, which can be invoked via a column’s Menu (see the GridColumn.ShowUnboundExpressionMenu topic). The Expression Editor contains a field list providing access to all available columns. If the ShowInExpressionEditor property is set to false, a column will not be available in the field list.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowInExpressionEditor 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