title: WPF Binding to local variable
body: <p>Can you bind to a local variable like this?</p>
  
  <p><strong>SystemDataBase.cs</strong></p>
  
  <pre><code>namespace WebWalker
  {
      public partial class SystemDataBase : Window
      {
          private string text = "testing";
  ...
  </code></pre>
  
  <p><strong>SystemDataBase.xaml</strong></p>
  
  <pre><code> &lt;TextBox 
         Name="stbSQLConnectionString" 
         Text="{SystemDataBase.text}"&gt;
   &lt;/TextBox&gt;
  </code></pre>
  
  <p>??</p>
  
  <p>Text is set to the local variable "text"</p>