Freigeben über


IEasingFunction Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines the basic functionality of an easing function.

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

Syntax

'Declaration
Public Interface IEasingFunction
public interface IEasingFunction
See Remarks

The IEasingFunction type exposes the following members.

Methods

  Name Description
Public methodSupported by Silverlight for Windows Phone Ease Transforms normalized time to control the pace of an animation.

Top

Remarks

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.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.