I have a converter that in code I can set a property like:
tabAssumptions.SetBinding(UIElement.VisibilityProperty, new Binding("CurrentPhase.IsWholeScheme") { Converter = new BoolToVisibilityConverter { Inverse = true } });
How can I set the Inverse property of the converter when used in XAML?
My BoolToVisibilityConverter is below. You can either use it as a resource:
or use it as a MarkupExtension inline in your XAML:
C#