IEasingFunction Interface

Defines the basic functionality of an easing function.

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

public interface IEasingFunction

The IEasingFunction type exposes the following members.

  NameDescription
Public methodEaseTransforms normalized time to control the pace of an animation.
Top

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.

NoteNote

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

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft