I was just using color as an example property. You can set any property you like based on this.
And for the radio button example, rather than using a boolean you would presumably assign a range of values like {1,2,3,4,5} and then with the first you'd say
If(myOutput = 1, DisplayMode.Disabled, DisplayMode.Enabled)
and with the second
If(myOutput = 2, DisplayMode.Disabled, DisplayMode.Enabled)
...and so on.