I'm using the Title property of a Page to set a textblock in the mainwindow.
Programmatic databinding is working for one time. But when i change the title property on a page the Browser title & tab are updated, but my textblock not.
In the NavigatedTo method in mainview:
Page page = ((Page)e.Content);
Binding binding = new Binding();
binding.Path = new PropertyPath("Title");
binding.Source = page;
binding.Mode = BindingMode.OneWay;
Header.SetBinding(TextBlock.TextProperty, binding);