title: Data binding a string variable of static class to textBlock in Phone 7?
body: <p>Here is the C# code</p>
  
  <pre><code>public static class Global
  {
      public static string Temp 
      { 
          get 
          {
              return temp;
          }
          set
          {
              temp = value;
          }
      }
  
      public static string temp="100";
  
  }
  </code></pre>
  
  <p>and here is the xaml code of MainPage</p>
  
  <pre><code> &lt;TextBlock Text="{Binding Path=Temp}" Grid.Column="1" Margin="34,47,32,49" Name="textBlockCheck" /&gt;
  </code></pre>
  
  <p>I have declared the datacontext in MainPage.cs like this in its constructor:</p>
  
  <pre><code>this.DataContext= Global.Temp;
  </code></pre>
  
  <p>But there is nothing being displayed there in the textBlock. Thanks in advance for help.</p>