Conditional and Key-Value Converters

It would be nice to have conditional and key value converters.

Conditional:

Bind a boolean to any other data type

Example

True: Green Color

False: Red Color

This would greatly simplify state machines.


Key-value

Bind an enum to any other data type

Example:

Enabled: White

Disabled: Grey

Hovered: Green

Pressed: Blue


This could also work with images, or numbers.