ColumnView.ShowUnboundExpressionEditor(GridColumn) Method
Invokes an Expression Editor that enables editing an expression for the specified unbound column.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.2.dll
NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation
#Declaration
public virtual void ShowUnboundExpressionEditor(
GridColumn column
)
#Parameters
Name | Type | Description |
---|---|---|
column | Grid |
A Grid |
#Remarks
Data for unbound columns can be provided by specifying an expression via the GridColumn.UnboundExpression property. At runtime, an end-user can edit expressions for unbound columns via an Expression Editor - specially designed modal form. This editor can be opened:
- via a context menu, if the GridColumn.ShowUnboundExpressionMenu option is enabled;
- by calling the ShowUnboundExpressionEditor method.
The ColumnView.UnboundExpressionEditorCreated event fires in response to creating the Expression Editor. You can handle this event to prevent the editor from being displayed in specific instances, change the editor form’s settings, etc.
For more information on unbound columns, see Unbound Columns.