Επεξεργασία

Κοινή χρήση μέσω


ColorAnimation.EasingFunction Property

Definition

Gets or sets the easing function applied to this animation.

public:
 property System::Windows::Media::Animation::IEasingFunction ^ EasingFunction { System::Windows::Media::Animation::IEasingFunction ^ get(); void set(System::Windows::Media::Animation::IEasingFunction ^ value); };
public System.Windows.Media.Animation.IEasingFunction EasingFunction { get; set; }
member this.EasingFunction : System.Windows.Media.Animation.IEasingFunction with get, set
Public Property EasingFunction As IEasingFunction

Property Value

The easing function applied to this animation.

Remarks

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.

Applies to

See also