Share via


IXRElasticEase::SetOscillations (Compact 2013)

3/28/2014

This method sets the number of times the animation target slides back and forth.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetOscillations(
    __in int Oscillations
) = 0;

Parameters

  • Oscillations
    [in] An integer value that represents the number of times the target slides back and forth over the animation destination. This value must be greater than or equal to 0 (zero). The default value is 3.

Return Value

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

.NET Framework Equivalent

System.Windows.Media.Animation.ElasticEase.Oscillations

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRElasticEase