title: Binding in TextBlock doesn't work in WPF
body: <p>I want to dynamically change <code>TextBlock</code> text in my Class.  </p>
  
  <p><strong>XAML-Code</strong>:</p>
  
  <pre><code>&lt;TextBlock Name="Footer_text"  Text=""/&gt;
  </code></pre>
  
  <p><strong>C#</strong>:</p>
  
  <pre><code>string footerMainMenuText = "Setting";
  Binding  set = new Binding("");
  set.Mode = BindingMode.OneWay;
  set.Source = footerMainMenuText;
  Footer_text.DataContext = footerMainMenuText;
  Footer_text.SetBinding(TextBlock.TextProperty, set);
  </code></pre>
  
  <p>I checked last line, and the <code>Footer_text.Text</code> is set correctly. ( <code>Footer_text.Text="Setting"</code>), but <code>TextBlock</code> in my application doesnt show "Setting". What is the problem here? </p>