Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ColorAnimation.EasingFunction Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on 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
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2018 Microsoft