This project has moved and is read-only. For the latest updates, please go here.

Converter Not Used With Fallback Value


In my scenario ViewModel.PropertyA.PropertyObservableCollection.Count is bound to the UILable.Text property. It generates an

"Object of type 'System.Int32' cannot be converted to type 'System.String'."

exception when PropertyA was set to null. It looked like SetSpecialValue(xxx) needed to use _converter with the Fallback case but when I make that change, one of the test suite (Binding_MultipleLevelsOfNullWithConverter_ShouldCallConverterWithNullThenTargetNullValueButNotFallbackValue) fails.

I am continuing to try a few things but I was hoping might see the issue/solution quickly.



Sylapse wrote Jul 14, 2017 at 7:51 AM

Would be great if this was fixed in an update!