Expression Editor
#Expression Editor
Expression Editor makes it easy to create expressions in DevExpress Silverlight controls (e.g. Data Grid).
To create an expression, use the predefined functions and operators or type the expression manually. Expression Editor supports numerous standard functions, allowing you to easily perform different string, date-time, logical and math operations over data. To learn more about supported functions, refer to Expression Operators, Functions and Constants.
Expression Editor is available at design time. It can also be invoked by an end-user via a context menu at runtime (if allowed).
NOTE
When customizing expressions in code, columns/fields are referred to by field names enclosed in square brackets. When customizing expressions via Expression Editor, columns/fields are referred to by display names, also enclosed in square brackets. The display names will be automatically converted to field names you close Expression Editor.
#Invoking the Expression Editor in DXGrid
An end-user can select the Expression Editor... link in a column's context menu to open Expression Editor and edit the column's expression.
To invoke Expression Editor, use the DataViewBase.ShowUnboundExpressionEditor method.
To learn more about using unbound columns, see Unbound Columns.