WPF IValueConverter
Invert visibility, name enums
WPF IValueConverter: inverse Visibility and enum display names
Two custom IValueConverters show how to invert bool-to-Visibility bindings and read enum display names from Description attributes in WPF. The article measures which types ConverterParameter actually receives, how Hidden and Collapsed differ in layout, and which exceptions an implementation without null checks throws.