Share via


2.341.1 Expression Syntax

In addition to supporting constants as element values, RDL supports an expression language. All expressions in RDL MUST begin with the character "=" and MUST be specified in a Visual Basic–compatible syntax [MSFT-VBNET].

Expression values that do not begin with "=" are treated as constants of the type expected by the property if that type is Boolean ([XMLSCHEMA2/2] section 3.2.2), String ([XMLSCHEMA2/2] section 3.2.1), or Integer ([XMLSCHEMA2/2] section 3.3.17).

For example, the Visibility.Hidden property expects a Boolean. Therefore, the strings true and false are treated as Boolean constants. For properties that take a Variant, all values that do not start with "=" are treated as string constants.