Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 2.49 KB

File metadata and controls

43 lines (25 loc) · 2.49 KB
-api-id -api-type
T:Windows.UI.Xaml.Media.Animation.BounceEase
winrt class

Windows.UI.Xaml.Media.Animation.BounceEase

-description

Represents an easing function that creates an animated bouncing effect.

-xaml-syntax

<BounceEase .../>

-remarks

BounceEase has two controlling properties Bounciness and Bounces that affect the behavior of the function.

ElasticEase is a similar easing function that works well for physics emulation in animations. The difference with BounceEase is that an ElasticEase can go outside the From/To range. Another way to conceptualize the two easing functions is that ElasticEase is what you might use to animate the plucking of a string, whereas BounceEase is what you might use to show the bounce of a ball against a line or plane.

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.

-examples

The following example applies a BounceEase easing function to a DoubleAnimation to create a bouncing effect.

[!code-xamlBounceEase]

[!code-csharpBounceEase_code]

[!code-vbBounceEase_code]

-see-also

Storyboarded animations, Key-frame animations and easing function animations, EasingFunctionBase, PowerEase, BackEase, CircleEase, CubicEase, ElasticEase, ExponentialEase, QuadraticEase, QuarticEase, QuinticEase, SineEase, QuinticEase, SineEase