New to Telerik UI for WPF? Download free 30-day trial

Constants

RadExpressionEditor allows you to use different constants for defining the expression you want. There are several types supported by the control:

  • Numeric: You may define just a simple numeric expression like:

Numeric constants

In case of Double constant, you could use the exponential value: 0.0E+2. As a Decimal constant you could use '0.0'.

Numeric constants Double constants Decimal constants

  • String: They need to be surrounded by double quotation marks:

String constants

  • DateTime: They need to be surrounded by hashes:

DateTime constants

  • Boolean / Null: They can be defined as True / False values. In the same way you may define the null constant - null.

Boolean constants null constant

See also

In this article