[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
  Prerequisites
 [Expand]What's Installed
 [Collapse]Common Concepts
  [Expand]Themes
  [Expand]Images
  [Expand]Printing and Exporting
  [Expand]Saving and Restoring Layouts
   Typed Styles
  [Expand]Touch Support
  [Collapse]Expressions
    Expressions Overview
    Expression Editor
    Expression Editor Capabilities
    Invoking Expression Editor
    Expression Editor Modes
    Expression Editor Customization
  [Expand]Formatting Values
   Prism Adapters
  [Expand]Data Sources
   XAML Namespaces
 [Expand]MVVM Framework
 [Expand]Controls and Libraries
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

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?​​​​​​​