IEasingFunction Interface


Defines the basic functionality of an easing function.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public interface IEasingFunction


Transforms normalized time to control the pace of an animation.

This interface allows you to create your own easing functions by taking normalized time (a value from 0 through 1) and returning your desired value.

This interface represents a transformation of normalized time (progress). Animations use it to transform their progress. Classes that implement this interface can control the pace at which an animation is performed.

Derive from the EasingFunctionBase class to implement your own custom easing functions.


The WPF implementation of easing functions is compatible with the Silverlight implementation. If you have XAML that uses easing functions in one technology, it is usable without modification in the other.

.NET Framework
Available since 4.0
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top