WPF: One-way IValueConverter
All the examples from Microsoft simply throw a NotSupportedException or a NotImplementedException (the former makes more sense) from the ConvertBack
method.
As you say, if the converter is one-way then chances are you'll be using it on a read-only control like TextBlock
, so the ConvertBack
method won't be getting called anyway.