Property-based animations are used to change a dependency property from one value to another in a duration specified. There exists various animation classes under the namespace System.Windows.Media.Animation, which includes DoubleAnimation, ColorAnimation, and PointAnimation. These are used to create animation based on the type of property being animated.
In this recipe, we will learn how to create property-based animations. Keep in mind that only Dependency Properties can be modifiable during an animation.