3
Vote

Converter Not Used With Fallback Value

description

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.

Dan

comments

Sylapse wrote Jul 14 at 6:51 AM

Would be great if this was fixed in an update!