WPF Value Converter Basics With BooleanToVisibilityConverter
WPF user interfaces are built using XAML with a sprinkling of bindings. We bind control state to and from the state that we have in our view models.
But... What do we do when the types don't match up perfectly?
One of the most common situations this happens is with boolean state and visibility in WPF. And that's because visibility is NOT binary state!
... it's tri-state!
Let's check out how we can use value converters in WPF using the BooleanToVisibilityConverter as one of our basic building blocks!