Partager via


IXRBounceEase::SetBounces (Compact 2013)

3/28/2014

This method sets the number of bounces in an animation.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetBounces(
    __in int Bounces
) = 0;

Parameters

  • Bounces
    [in] Integer value that specifies the number of bounces. The default is 3.

Return Value

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

.NET Framework Equivalent

System.Windows.Media.Animation.BounceEase.Bounces

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRBounceEase