title: UserControl Dependency Property not updating
body: <p>I have created various UserControls’ that have dependency properties in them. Some update when the property changes and other do not, even though I am sure I have done it correctly.
  I have a property in my view model bound to the following property in my user control as follows:</p>
  
  <pre><code>&lt;reporting:LegendLabelControl
    Grid.Column="1"
    Grid.Row="3"
    Text="{Binding Path=Item.StatusName, UpdateSourceTrigger=PropertyChanged}"
   UpdateSourceTrigger=PropertyChanged}"/&gt;
  </code></pre>
  
  <p>The Text value shows the first time but subsequent update do not reflect change. If I swap this for a TextBlock, the TextBlock does update to it is not an issue with the property.
  The dependency property is as follows:</p>
  
  <pre><code>public static readonly DependencyProperty TextProperty = DependencyProperty.Register(
        "Text", typeof (string), typeof (LegendLabelControl), 
        new FrameworkPropertyMetadata(OnTextChanged)
        {
          DefaultUpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged
        });
  </code></pre>
  
  <p>All fairly straight forward and the TextBlock ion the user control is set manually:</p>
  
  <pre><code>public string Text
  {
    get { return (string)GetValue(TextProperty); }
    set
    {
      SetValue(TextProperty, value);        
      TxtLabel.Text = value;
    }
  }
  </code></pre>
  
  <p>You would think this is fine but it only work the first time. 
  Now, my workaround is to remove the dependency property setter so that it thinks it has not been set like this:</p>
  
  <pre><code>public string Text
  {
    get { return (string)GetValue(TextProperty); }
    set
    {
      //SetValue(TextProperty, value);
      TxtLabel.Text = value;
    }
  }
  </code></pre>
  
  <p>Can anyone explain what I am doing wrong. I have been working with WPF constantly for a few years and have a handle on most of it but this just stumps me.</p>