Xaml BindingContext not working

gogcamgogcam CHMember ✭✭

Hello

Can anyone tell me why this is the case:

Works:
var e2 = new Entry { BindingContext = bla }; e2.SetBinding(Entry.TextProperty, new Binding("PRJDESCR"));

Doesn't work:
<Entry BindingContext="{Binding local:bla}" Text="{Binding PRJDESCR}"/>

bla is a public property on page and has a own property "PRJDESCR".

Best Answer

Answers

Sign In or Register to comment.