Partager via


EasingMode Enumeration

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

Specifies how the animation associated with an easing function interpolates.

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

Syntax

'Declaration
Public Enumeration EasingMode
public enum EasingMode
<object property="enumMemberName"/>

Members

Member name Description
Supported by Silverlight for Windows Phone EaseOut Interpolation follows 100% interpolation minus the output of the formula associated with the easing function.
Supported by Silverlight for Windows Phone EaseIn Interpolation follows the mathematical formula associated with the easing function.
Supported by Silverlight for Windows Phone EaseInOut Interpolation uses EaseIn for the first half of the animation and EaseOut for the second half.

Remarks

The following graphs demonstrate the different values of EasingMode, where f(t) represents the animation progress and t represents time.

BackEase

BackEase EasingMode graphs.

BounceEase

BounceEase EasingMode graphs.

CircleEase

CircleEase EasingMode graphs.

CubicEase

CubicEase EasingMode graphs.

ElasticEase

ElasticEase with graphs of different easingmodes.

ExponentialEase

ExponentialEase graphs of different easingmodes.

PowerEase

QuarticEase with graphs of different easingmodes.

QuadraticEase

QuadraticEase with graphs of different easingmodes

QuarticEase

QuarticEase with graphs of different easingmodes.

QuinticEase

QuinticEase with graphs of different easingmodes.

SineEase

SineEase graphs.

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.