title: How to subscribe to change DependencyProperty?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4764916/listen-to-changes-of-dependency-property">Listen to changes of dependency property</a>  </p>
  </blockquote>
  
  
  
  <p>Excuse me for my English.</p>
  
  <p>I need to create a class that could subscribe to change DependencyProperty, and depending on the new value of this property to perform some action.</p>
  
  <p>Like this:</p>
  
  <pre><code>MyClass obj = new MyClass();
  obj.Subscribe(TextBox.TextProperty, myTextBox);
  </code></pre>
  
  <p>How can I do this?</p>