Share via


IXRVisualTransition::GetGeneratedEasingFunction (Compact 2013)

3/28/2014

This method gets the easing function applied to the generated animations.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetGeneratedEasingFunction(
    __out IXRDependencyObject** ppGeneratedEasingFunction
) = 0;

Parameters

  • ppGeneratedEasingFunction
    [out] Pointer to a pointer to an object instance derived from IXRDependencyObject that represents the easing function that is applied to the transition animation.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

An animation sequence is generated when switching between visual states if the duration of the transition is greater than 0 seconds. If the duration of the transition is 0 seconds, no animation is generated, the method does not return an error code, and the value of ppGeneratedEasingFunction is NULL. To obtain the duration of the transition between visual states, use the IXRVisualTransition::GetGeneratedDuration method.

.NET Framework Equivalent

System.Windows.VisualTransition.GeneratedEasingFunction

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRVisualTransition