Metro: Why is binding from XAML to a property defined in code-behind not working?
问题 I am attempting to adapt a Windows Metro-style app sample slightly by binding the title text to a property defined in code-behind, but I can't seem to get it to work. Reading the blog post titled Bind from XAML to property defined in code-behind, I am trying out "Solution 1". Here is my XAML source (simplified): <UserControl x:Class="... .MainPage" x:Name="UserControlSelf" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"