Hi
I have a little page containing a Grid and a TextBlock inside the Grid. I want to set the text in the TextBlock via DataBinding MVVM-Style. In CodeBind of the Page I set ist DataContext using this.DataContext = new MyViewModel(); (The ViewModel is implementing INotifyPropertyChanged)
Unfortunately Binding of the TextBlocks Text is not working and in Debugger I see, that the DataContext is available on the Page, the Grid but not on the TextBlock.
Is this a bug or a Feature? How can I access the DataContext of the Page from the TextBlock? If it is a bug, is there a Workaround?
Best Regards
Bernd