Conditional converter

Verify if the source variable value is
True
or
False
.

Properties

Property
Description
True value
The value of the expression that is
True
.
False value
The value of the expression that is
False
.
Mode
The direction of the dynamic link:
  • Read from the source node to the parent.
  • Write from the parent to the source node.
  • Read from the source node to the parent and write from the parent to the source node.

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.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.