Key frame animations in WPF enable you to animate an element using more than two target-values and control an animation's interpolation method. A key frame animation has no From/To properties with which we can set its target values.
The animation's target values are described using key frame objects, which you need to add to the animation's KeyFrames collection. When the animation runs, it transitions between the key frames that you specified.
In this recipe, we will learn how to create a key-frame-based animation and use it in our application.