-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Media.Animation.ExponentialEase |
winrt class |
Represents an easing function that creates an animation that accelerates and/or decelerates using an exponential formula.
<ExponentialEase .../>
ExponentialEase is an easing function that has a function-over-time formula that uses an Exponent value to shape the function-over-time curve. The value used for Exponent changes the shape of the curve quite a bit. Exponent can be negative, if so the function acts a bit like changing the EasingMode to EaseOut with a positive value. You might want to experiment with different values for Exponent and EasingMode when using this easing function.
An easing function can be applied to the EasingFunction properties of From/To/By animations, or to the EasingFunction properties of key-frame types used for the Easing variants of key-frame animations. For more info, see Key-frame animations and easing function animations.
This XAML example applies a ExponentialEase easing function to a DoubleAnimation to create a decelerating animation.
[!code-xamlExponentialEase]
[!code-csharpExponentialEase_code]
[!code-vbExponentialEase_code]
Storyboarded animations, Key-frame animations and easing function animations, EasingFunctionBase, PowerEase, BackEase, BounceEase, CircleEase, CubicEase, ElasticEase, QuadraticEase, QuarticEase, QuinticEase, SineEase, QuinticEase, SineEase