I have a user control for which a datacontext is set to a view model. A user control contains some text blocks and text fields that are bound to view model properties. I would like to make a little animation when changing the value of the property of the view model, but I cannot find a way to do this in Silverlight.
In WPF, we can use properties like NotifyOnTargetUpdated and Binding.TargetUpdated to commit the changes, but they seem to be missing in Silverlight. In my case, the animation is not based on the value of the property, that is, I do not want to start the animation when any property value is, for example, 5. Instead, the animation should start each time the property value changes (to highlight the changed content for the user).
Here's the answer on how to do this in WPF: Animate WPF text when binding updates, how?
But how can I do the same with Silverlight 4?
source
share