I have a control that I want to show/hide, depending on the value of a boolean.
I have a NegatedBooleanConverter (switches true to false and vice versa) and I need to run this converter first. I have a BooleanToVisibilityConverter and I need to run this converter after the NegatedBoolConverter.
How can I fix this problem? I want to do this in XAML.
edit: this is a possible solution.
That doesn't seem to work. It first converts the value with the seperate converters and then does something with the converted values.
What I need is:
- Convert the value with the first converter (this gives convertedValue).
- Convert convertedValue with the second converter and it's this result that I need.