Conditional converter
Verify if the source variable value is
True
or False
.
Properties
Property | Description |
---|---|
True value |
The value of the expression that is |
False value |
The value of the expression that is |
Mode |
The direction of the dynamic link:
|
Source
The condition variable (Boolean).
Output
A True
or False
value.
Example
In the following example, the conditional converter:
-
Sets the text color of a label to green if a switch is selected.
-
Sets the text color of a label to red if a switch is cleared.
