Export (0) Print
Expand All

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.5.2, 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft