[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
 [Expand]What's Installed
 [Collapse]Common Concepts
  [Expand]Printing and Exporting
  [Expand]Saving and Restoring Layouts
   Typed Styles
  [Expand]Touch Support
    Expressions Overview
    Expression Editor
    Expression Editor Capabilities
    Invoking Expression Editor
    Expression Editor Modes
    Expression Editor Customization
  [Expand]Formatting Values
   Prism Adapters
  [Expand]Data Sources
  [Expand]Performance Improvement
   XAML Namespaces
 [Expand]MVVM Framework
 [Expand]Controls and Libraries
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Invoking Expression Editor

This topic describes how to invoke the Expression Editor in the GridControl and the PivotGridControl:

Expanded Invoking at Design Time

Click the ColumnBase.UnboundExpression (or PivotGridField.UnboundExpression) property's ellipsis button to invoke the expression editor at design time:

Expanded Invoking in Code

Call the DataViewBase.ShowUnboundExpressionEditor (or PivotGridControl.ShowUnboundExpressionEditor) method to invoke the expression editor in code:

The code sample below demonstrates how to create a button that allows invoking the expression editor:

Expanded Invoking at Runtime

Right-click a column to which you want to specify an expression, and select the Expression Editor... in the displayed context menu to invoke the expression editor:

The column's context menu does not contain the Expression Editor... menu item by default. Set the ColumnBase.AllowUnboundExpressionEditor (or PivotGridField.AllowUnboundExpressionEditor) property to true to add this menu item to the context menu:

Expanded See Also

Is this topic helpful?​​​​​​​