Add a DataContextChanged event
We often need to know when the DataContext on a Framework element has changed. We have the DataContextChanged event in WPF but not Silverlight. This leads to workarounds like the clever MyDataContext Dependency Property in this blog post : http://msmvps.com/blogs/theproblemsolver/archive/2008/12/29/how-to-know-when-the-datacontext-changed-in-your-control.aspx
It would be much better just to have the event in the first place.
118
votes
2 comments
-
jvk
commented
It would be great not to have to work around this any more. Never understood why DataContextDependencyProperty is private.
-
Justin Chase
commented
I wish I could add all 10 of my votes to this one :(