title: WPF Dependency Property not working
body: <p>I have a custom Dependency Property defined like so:</p>
  
  <pre><code>public static readonly DependencyProperty MyDependencyProperty =
  DependencyProperty.Register(
  "MyCustomProperty", typeof(string), typeof(MyClass));
  
      private string _myProperty;
      public string MyCustomProperty
      {
          get { return (string)GetValue(MyDependencyProperty); }
          set
          {
              SetValue(MyDependencyProperty, value);
          }
      }
  </code></pre>
  
  <p>Now I try set that property in XAML</p>
  
  <pre><code>&lt;controls:TargetCatalogControl MyCustomProperty="Boo" /&gt;
  </code></pre>
  
  <p>But the setter in DependencyObject never gets hit! Although it does when I change the property to be a regular property and not a Dep Prop</p>