wpf-devexpress-dot-xpf-dot-expressioneditor.md
The Expression Editor in the AutoComplete mode.
Namespace : DevExpress.Xpf.ExpressionEditor
Assembly : DevExpress.Xpf.ExpressionEditor.v25.2.dll
NuGet Package : DevExpress.Wpf.ExpressionEditor
public class ExpressionEditorControl :
Control,
IAutoCompleteExpressionEditor,
ISupportExpressionString
Public Class ExpressionEditorControl
Inherits Control
Implements IAutoCompleteExpressionEditor,
ISupportExpressionString
The following members return ExpressionEditorControl objects:
The Expression Editor allows users to create and edit expressions in DevExpress WPF controls (for example, Data Grid). The Expression Editor supports numerous standard functions and operators that allow you to perform different string, date-time, logical, and math operations over data. Read the following help topic to learn more: Invoke the Expression Editor.
The AutoComplete mode supports intelligent code completion, syntax highlighting, and immediate error indication. Read the following help topic for additional information: Expression Editor Capabilities.
The expression editor in AutoComplete mode is an ExpressionEditorControl class instance that is included in the DevExpress.Xpf.ExpressionEditor assembly. If the Global Assembly Cache stores this assembly, the AutoComplete mode is used by default.
Refer to the following help topic to learn more: Expression Editor Customization.
You can use the Expression Editor as a standalone control:
Add the control to the window:
Use the ExpressionEditorContextHelper.GetContext method to define columns:
Execute the SaveCommand to update the editor value:
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ExpressionEditorControl
See Also