Partager via


IXRBounceEase::SetBounciness (Compact 2013)

3/28/2014

This method sets a value that specifies how elastic the bounce animation is. Low values of this property result in bounces with little loss of height between bounces (more bouncy) while high values result in dampened bounces (less bouncy).

Syntax

virtual HRESULT STDMETHODCALLTYPE SetBounciness(
    __in float Bounciness
) = 0;

Parameters

  • Bounciness
    [in] Integer value that specifies how elastic the bounce animation is. This value must be positive. The default value is 2.

Return Value

Returns an HRESULT that indicates success or returns an error code.

.NET Framework Equivalent

System.Windows.Media.Animation.BounceEase.Bounciness

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRBounceEase