O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Easing Functions

You’ve seen examples of the linear interpolation used with the three main custom animation classes, and the possible spline interpolation that can be used with three of the custom keyframe animation classes. All of the custom animation classes except the discrete-only ObjectAnimationUsingKeyFrames class enable an easing function to be plugged in to customize the interpolation. DoubleAnimation, ColorAnimation, and PointAnimation directly define an EasingFunction property, and the others can work with EasingXXXKeyFrame objects that define the same property.

EasingFunction can be set to a class deriving from EasingFunctionBase that controls the rate of acceleration and deceleration in arbitrarily complex ways. Eleven such objects ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required