UnboundExpressionEditorEventArgs Class
Provides data for the DataViewBase.UnboundExpressionEditorCreated event.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v24.2.Core.dll
NuGet Package: DevExpress.Wpf.Grid.Core
Declaration
Remarks
An end-user can use the Expression Editor to edit expressions for unbound columns. The Expression Editor can be invoked using a column’s context menu or in code, via the DataViewBase.ShowUnboundExpressionEditor method.
The DataViewBase.UnboundExpressionEditorCreated event fires after the Expression Editor has been created, before it’s displayed onscreen. Handle this event to do the following:
- Prevent the Expression Editor from being displayed by setting the event parameter’s Handled property to true.
Customize the Expression Editor:
- Use the ExpressionEditorCreatedEventArgsBase.AutoCompleteExpressionEditorControl property to customize expression editor in autocomplete mode, or
- Use the ExpressionEditorCreatedEventArgsBase.ExpressionEditorControl property to customize expression editor in standard mode.
For a code sample, see the following example online: How to customize the Expression Editor.