Create and edit logical expressions at run-time to perform calculations and shape data with ComponentOne Expression Editor.
The Expression Editor UI is a useful tool for many applications and can be used with minimal code and set up. Use as dialog or embedded text editor.
Expression Building Made Easy
Expression Editor provides suggestions, errors, syntax highlighting, previews and tooltip details to make expression building easy for all users.
Filter Results Using Expressions
Enhance the filtering in your datagrids and reports with expressions. Match on strings, formulas, or other data fields.
Expression Editor provides over 100 operators and functions to perform aggregate, logical, date time, math, convert and text operations for the ease of users while working with expressions. Functions include:
Expression Editor uses different colors to highlight functions, fields, and operators. This helps in differentiating these items and enhancing the readability of expressions, especially when the expressions span across multiple lines. The syntax highlighting is just like the SQL Query editor.
Expression Editor provides recommendations of possible functions or fields based on what the user types just like Visual Studio IntelliSense. This feature helps to complete expressions quickly and reduces the chance of making typing errors.
This intuitive control can be easily integrated with other data management and visualization controls such as grids and charts, to aid analysis. Create Excel-like formulas for shaping data, as embedded in a custom filter or in the cell of a grid, for example.
Expression Editor validates for error detection immediately after the user has finished entering the expression. If the expression syntax is incorrect, an error message is shown within the Editor.
Visualize final output and correct possible errors before finalizing the expression for a supported control. When you write a valid expression, it displays the result in the preview and along with any errors.
Create your own custom engine for Expression Editor. We provide a sample that uses C# syntax and supports Linq.