Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

BindingContext Bug ?

$
0
0

Hi All

I have been trying to get XAML bindings to work, and one thing I've noticed is that if you set the BindingContext of a page during the OnAppearing method of the ContentPage the XAML bindings fail. But if you set the BindingContext in the page's constructor it works.

In Microsoft XAML you can set the DataContext (BindingContext) at any time in the page's lifecycle.

Is this a bug with Xamarin, or a known restriction on the XAML implementation with Xamarin.

Thanks


Viewing all articles
Browse latest Browse all 58056

Trending Articles