Included functionality suggested by a member of GameDev.net
This new functionality adds a TargetAction property to the Timeline object (which is the base class for FloatAnimation, ColorAnimation, etc) which effectly acts as a callback method which is called each time the value is updated during the course of the animation.
This option should make the system more flexible, as this will allow for easier integration into existing code bases, as well as allow those who don't wish to have their objects inherit from DependencyObject and implement DependencyProperties.
An example of how to use this alternative method has been added to the Home page as well.
This new functionality adds a TargetAction property to the Timeline object (which is the base class for FloatAnimation, ColorAnimation, etc) which effectly acts as a callback method which is called each time the value is updated during the course of the animation.
This option should make the system more flexible, as this will allow for easier integration into existing code bases, as well as allow those who don't wish to have their objects inherit from DependencyObject and implement DependencyProperties.
An example of how to use this alternative method has been added to the Home page as well.