IEasingFunction Interface

IEasingFunction Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Defines the basic functionality of an easing function.

Namespace:  System.Windows.Media.Animation
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public interface IEasingFunction
See Remarks

The IEasingFunction type exposes the following members.

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

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

IEasingFunction is the property type of several EasingFunction properties on key-frame types, and therefore it is the interface that technically enables the XAML usage for those properties, not the EasingFunctionBase type. For details, see EasingColorKeyFrame, EasingDoubleKeyFrame, or EasingPointKeyFrame.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft