Share via


IXRElasticEase::SetSpringiness (Compact 2013)

3/28/2014

This method sets the stiffness of the spring. The smaller the Springiness value, the stiffer the spring and the faster the elasticity decreases in intensity over each oscillation.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetSpringiness(
    __in float Springiness
) = 0;

Parameters

  • Springiness
    [in] Pointer to a float value that represents the stiffness of the spring. This value must be a positive number. 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.Springiness

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRElasticEase