Reputation: 324
I am running into problems from time to time with View -> ViewModel binding errors with Xamarin.Forms on iOS.
For instance, I had a binding from a label to a double property in the ViewModel and just nothing happened until I added a string format like this:
myLabel.SetBinding<MyViewModel> (Label.TextProperty, vm => vm.MyDoubleProperty, stringFormat: "{0:0.0}");
It would have been a lot easier if the framework told me that there was an error.
And this is my question: Where can I see binding exceptions / warnings in Xamarin.Forms?
Upvotes: 4
Views: 1304
Reputation: 16232
Binding errors are reported in the Debug
log, i.e. the Output
pad in your IDE:
The particular conversion issue might not be reported as an error at the moment, but this is currently being worked out.
Upvotes: 1