I suggest you ...

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
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Samuel JackSamuel Jack shared this idea  ·   ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • jvkjvk commented  · 

        It would be great not to have to work around this any more. Never understood why DataContextDependencyProperty is private.

      • Justin ChaseJustin Chase commented  · 

        I wish I could add all 10 of my votes to this one :(

      Feedback and Knowledge Base