Represents an easing function that creates an animation that accelerates and/or decelerates using the formula f(t) = tp where p is equal to the Power property.
Assembly: PresentationCore (in PresentationCore.dll)
Gets a value that indicates whether the object can be made unmodifiable. (Inherited from Freezable.)
Gets or sets a value that specifies how the animation interpolates. (Inherited from EasingFunctionBase.)
Gets a value that indicates whether the object is currently modifiable. (Inherited from Freezable.)
Gets a value that indicates whether this instance is currently sealed (read-only).(Inherited from DependencyObject.)
Gets or sets the exponential power of the animation interpolation. For example, a value of 7 will create an animation interpolation curve that follows the formula f(t) = t7.
You can control whether the animation accelerates, decelerates, or both by specifying the EasingMode. The following graph demonstrates the different values of EasingMode, where f(t) represents the animation progress and t represents time.
By using the Power property:function, you can specify how quickly acceleration/deceleration takes place by specifying the
f(t) = tp where p is equal to the Power property.
Because of this, the QuadraticEase (f(t) = t2), CubicEase (f(t) = t3), QuarticEase (f(t) = t4), and QuinticEase (f(t) = t5). For example, if you wanted to use a function to create the same behavior as a QuadraticEase function (f(t) = t2), you would specify a Power property value of 2.function can be substituted for
There are several other easing functions besideswhich you can explore using the following Silverlight sample.
In addition to using the easing functions included in the run-time, you can create your own custom easing functions by inheriting from EasingFunctionBase.
Legacy Code Example
The following example applies a Power property value of 20 to a DoubleAnimation to create a decelerating animation. Because the Power value is so high, the deceleration is sudden compared to if you used a lower value.easing function with a Code snippet is not found. Confirm that the code snippet name 'PowerEase' is correct.
Available since 4.0
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.