PowerEase::Power Property

 

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.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

public:
property double Power {
	double get();
	void set(double value);
}

Property Value

Type: System::Double

The exponential power of the animation interpolation. This value must be greater or equal to 0. The default is 2.

Dependency property identifier field: PowerProperty

<object Power="double" .../>

The following example applies a PowerEase easing function with 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.

.NET Framework
Available since 4.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: