See Binding Errors in Xamarin.Forms

From time to time, I encounter problems with View -> ViewModel with binding errors for Xamarin.Forms on iOS.

For example, I had a tag binding to a double property in the ViewModel, and nothing happened until I added this line format:

myLabel.SetBinding<MyViewModel> (Label.TextProperty, vm => vm.MyDoubleProperty, stringFormat: "{0:0.0}");

It would be much easier if the framework told me that an error occurred.

And this is my question: where can I see exception / warning bindings in Xamarin.Forms?

+4
source share
1 answer

Binding errors are reported in the log Debug, i.e. in a panel Outputin your IDE: enter image description here

, .

+1

Source: https://habr.com/ru/post/1544569/


All Articles