ColorAnimation.EasingFunction Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the easing function applied to this animation.

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

public IEasingFunction EasingFunction { get; set; }

Property Value

Type: System.Windows.Media.Animation.IEasingFunction

The easing function applied to this animation.

Easing functions allow you to create a variety of specialized animation effects including bouncing, spring oscillations, and various magnitude acceleration and deceleration animations. These functions were designed primarily for 'movement animations' versus color animation, however, you might find a scenario for applying an easing function to your ColorAnimation. For example, you could use a PowerEase easing function to create a color animation that animates through colors rapidly at first but slows down.

.NET Framework
Available since 4.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: