[Closed] Allow handling of null for Convert of BaseConverterOneWay<TFrom, TTo> #164
Replies: 3 comments 12 replies
-
|
Thanks @Countryen! It's certainty feasible, but I'm struggling to think of scenarios where Does XAML handle What's an example where XAML would prefer |
Beta Was this translation helpful? Give feedback.
-
|
Quick question - is this a bug fix or a new feature? A bug fix could be implemented pretty quickly, whereas new features have to follow the New Feature Proposal workflow |
Beta Was this translation helpful? Give feedback.
-
|
Closed as part of clean-up. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The base class for IValueConverter
BaseConverterOneWay<TFrom, TTo>provides many features/benefits but doesn't allow overriding or defining what happens when anullis passed into theConvertmethod.It would be very nice if it was able to either override or define the type/value checking or to set a "allows null" for the value.
This helps using converters with strings that can also be
null.Is there a better solution?
Beta Was this translation helpful? Give feedback.
All reactions