-api-id | -api-type |
---|---|
T:Windows.UI.Xaml.Media.Animation.QuadraticEase |
winrt class |
Represents an easing function that creates an animation that accelerates and/or decelerates using the formula f (t) = t2
<QuadraticEase .../>
QuadraticEase has the same behavior as does a PowerEase with Power value of 2. When EasingMode is EaseIn (the default), this easing function starts slow, remains fairly slow until about half way through the duration, and accelerates near the end of the duration time.
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.
The following example applies a QuadraticEase easing function to a DoubleAnimation to create a decelerating animation.
[!code-xamlQuadraticEase]
[!code-csharpQuadraticEase_code]
[!code-vbQuadraticEase_code]
Storyboarded animations, Key-frame animations and easing function animations, PowerEase, BackEase, BounceEase, CircleEase, CubicEase, ElasticEase, ExponentialEase, QuarticEase, QuinticEase, SineEase, QuinticEase, SineEase