title: Static property bind only works once initially
body: <p>I'm having problems binding a static string property to textblock in a WPF application.
  Initially it sets the value correctly but I have a method that is updating the value, but the changes are not reflected on the UI.</p>
  
  <p>I have sourced the StaticPropertyChanged code online, so potentially there is an issue with how I've implemented it?</p>
  
  <p>I'm sure it's something simple i'm missing, as i'm very new to WPF. </p>
  
  <p>Any help is appreciated!</p>
  
  <p>Property in question:</p>
  
  <pre><code>private static string _isConnected = "Initial Value";
  
  public static event EventHandler&lt;PropertyChangedEventArgs&gt; StaticPropertyChanged;
  
  public static string IsConnected
  {
      get { return _isConnected; }
      set
      {
          _isConnected = value;
          if (StaticPropertyChanged != null)
              StaticPropertyChanged(null, new PropertyChangedEventArgs("IsConnected"));
      }
  }
  </code></pre>
  
  <p>XAML:</p>
  
  <pre><code>&lt;TextBlock Name="Test"
             Text="{Binding Source={x:Static status:Status.IsConnected}}"&gt;
  </code></pre>
  
  <p>Thanks :)</p>