ColorAnimation.EasingFunction Property

 

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: