New to Telerik UI for WinFormsStart a free 30-day trial

Expression Editor

Updated on May 7, 2026

RadExpressionEditor is a powerful editor that allows you to build complex expressions using a simple Domain Specific Language, reminiscent of formulas in many popular spreadsheet applications. It provides access to a set of predefined functions, operators, and constants. You can also access all RadGridView fields.

Expressions consist of functions, operators, constants, and identifiers such as the names of fields and columns. The Expression Builder enables you to look up and insert these components, and enter expressions more quickly and accurately. You can start the expression editor from the context menu of a column, or initialize and show it from code. RadExpressionEditor can also be used at design time.

Once shown, RadExpressionEditor automatically loads all available functions, operators, and current grid fields (columns). Every entered expression is parsed and evaluated. A preview of the result is shown for the current row, and the confirmation button is enabled only if the expression is valid.

The result preview is available only when at least one row exists at run time.

WinForms RadGridView Expression Editor

Anatomy of RadExpressionEditor

WinForms RadGridView gridview-expressioneditor-overview 002

  1. Expression Box: Type your expression here, or add expression elements by double-clicking or dragging items in the element lists below;

  2. Common Expression Operators: Use buttons as shortcuts to add the required operator;

  3. Expression Elements Tree: Navigate through the available categories of expression elements;

  4. Expression Values List: Scroll through the available expression functions, operators, constants or fields. Double-Click or drag-and-drop to add a chosen value into the expression box;

  5. Help and information about the selected expression value: If available, here you will see the description and the syntax of the chosen expression value;

  6. Result Preview: A preview of the calculated result of the entered expression will be shown. The preview is evaluated as you type, and is shown only if there is a valid expression. The result is calculated for the current row in the DataView.

See Also