title: How can I set a breakpoint on "dependency property changed"?
body: <p>Our Silverlight app contains a third-party control, which contains some ScrollBars (among other things). In order to troubleshoot a problem, I want to be able to stop in the debugger whenever the third-party control modifies the Minimum or Maximum properties of any of its scrollbars. Then I'll be able to look at the stack trace and learn more about what's going on.</p>
  
  <p>If I was interested in the ScrollBars' Value property, that would all be easy -- ScrollBar has a ValueChanged event, so I could just add some throwaway code that hooks that event on the ScrollBar, set a breakpoint inside my event handler, and debug away. But there are no corresponding CLR events for MinimumChanged or MaximumChanged, so it won't be that simple.</p>
  
  <p>I ran across a blog post that talks about <a href="http://geekswithblogs.net/Martinez/articles/setting-a-breakpoint-on-non-user-code-property.aspx" rel="nofollow">using DependencyPropertyDescriptor to get dependency property change events</a>, but unfortunately, <a href="http://msdn.microsoft.com/en-us/library/system.componentmodel.dependencypropertydescriptor.aspx" rel="nofollow">DependencyPropertyDescriptor</a> doesn't exist in Silverlight.</p>
  
  <p>How can I get to the point where I can set a breakpoint that fires whenever the ScrollBar's Minimum and Maximum properties change?</p>