I have a 2 converter.
- Boolean to Visibility(Bool2Visible) - This converter convert Boolean value to Visibility enum
- Invert Boolean(InvertBool) - this converter invert Boolean value
My xaml is here
<stackpanel Name="A"
visibility="{Binding isTrue,Converter={StaticResource Bool2Visible}}"/>
<stackpanel Name="B"
visibility="{Binding isTrue,Converter={StaticResource Bool2Visible}}"/>
My goal is If isTrue=true, Stackpanel B will hidden. I need to use InsertBool and use Bool2Visible in Stackpanel B binding.
How to use 2 converter in one time.
Otherwise. newvalue=Bool2Visible(InsertBool(value))
If it is impossible, I can to create InvertAndConvertToVisibility
converter.