GitHunt
DE

DevExpress-Examples/winforms-grid-customize-expression-editor

Customize the grid control's Expression Editor.




WinForms Data Grid - Customize the Expression Editor

This example shows how to customize the Expression Editor as follows:

  • Remove the Now function from the list of Date-Time functions and prevent users from using this function in expressions (display an error message).
  • Disable capitalization of function names.
  • Implement a color provider to use a custom palette for syntax highlighting.
  • Rename the Columns category to Fields.
  • Implement a custom Expression Editor view to display only specific UI elements of the Expression Editor.

Customize WinForms Expression Editor

Right-click the Expression column header and select the Expression Editor... command in the context menu to invoke the Expression Editor.

Show Expression Editor

Files to Review

Documentation

Does This Example Address Your Development Requirements/Objectives?

(you will be redirected to DevExpress.com to submit your response)

Languages

Visual Basic .NET52.6%C#47.4%

Contributors

Other
Created April 8, 2018
Updated March 9, 2026