<p>How would you attach a propertychanged callback to a property that is inherited?  Like such:</p>

<pre><code>class A {
  DependencyProperty prop;
}

class B : A {
   //...
   prop.AddListener(PropertyChangeCallback);
}
</code></pre>

[{'answer_id': 12436, 'author': 'Jon Galloway', 'author_id': 5, 'author_profile': 'https://Stackoverflow.com/users/5', 'pm_score': 3, 'selected': True, 'text': '<p>(edited to remove recommendation to use DependencyPropertyDescriptor, which is not available in Silverlight)</p>\n\n<p><a href="http://agsmith.wordpress.com/2008/04/07/propertydescriptor-addvaluechanged-alternative/" rel="nofollow noreferrer">PropertyDescriptor AddValueChanged Alternative</a></p>\n'}, {'answer_id': 12637, 'author': 'Brian Leahy', 'author_id': 580, 'author_profile': 'https://Stackoverflow.com/users/580', 'pm_score': 0, 'selected': False, 'text': '<p>Have you tried a two way data binding between the two dependency properties?</p>\n'}, {'answer_id': 258575, 'author': 'Daniel Crenna', 'author_id': 18440, 'author_profile': 'https://Stackoverflow.com/users/18440', 'pm_score': 0, 'selected': False, 'text': '<p>@MojoFilter,</p>\n\n<p>Jon\'s last suggestion link will give you what you\'re looking for: it uses weak references to register listening to changes by wrapping properties in a new object. Scroll to the bottom of "PropertyDescriptor AddValueChanged Alternative". You\'ll have to change the Binding code around a bit since BindingOperations doesn\'t exist.</p>\n'}]
['https://Stackoverflow.com/questions/12385', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/93/']