อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


ColorAnimation.EasingFunction Property

Definition

Gets or sets the easing function applied to this animation.

C#
public System.Windows.Media.Animation.IEasingFunction EasingFunction { get; set; }

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

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also