title: wpf,How to bind Current Date?
body: <p>I have a TextBlock control to which I would like to bind current System Date  , how can I do that by Code Behind ?</p>
  
  <p>The goal is to display in this TecBlock the current System Date and Time and I do not need the control refresh all the time ,only once.</p>
  
  <p>I hope that is most simple Code.I don't want to Create dateTime Property.
  follow is my code:it is Wrong that it can't find BindSource</p>
  
  <pre><code>  Binding bd = new Binding("System.DateTime.Now");
          bd.Source = this;
          textBox.SetBinding(TextBox.TextProperty, bd);
  </code></pre>
  
  <p>Thanks for help</p>