共用方式為


EasingFunctionBase.EasingMode Property

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

Gets or sets a value that specifies how the animation interpolates.

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

Syntax

'Declaration
Public Property EasingMode As EasingMode
public EasingMode EasingMode { get; set; }
<easingFunction EasingMode="easingMode"/>

XAML Values

  • easingFunction
    An object element for a type that derives from EasingFunctionBase.

  • easingMode
    A named constant of the EasingMode enumeration, such as EaseIn.

Property Value

Type: System.Windows.Media.Animation.EasingMode
One of the enumeration values that specifies how the animation interpolates. The default is EaseOut.

Remarks

Dependency property identifier field: EasingModeProperty

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.

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.