Поделиться через


IXREasingFunctionBase::SetEasingMode (Compact 2013)

3/28/2014

This method sets the easing mode of the current animation.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetEasingMode(
    __in XREasingMode EasingMode
) = 0;

Parameters

  • EasingMode
    [in] Pointer to an XREasingMode enumerated value that indicates when to apply the easing function to the associated animation: at the beginning, at the end, or both.

Return Value

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

Remarks

For images that represent the effects of different easing functions, see XREasingMode.

You can define the easing mode in Microsoft Silverlight 3 XAML. For information about the differences between XAML in XAML for Windows Embedded and Silverlight 3, see Differences Between Microsoft Silverlight 3 and XAML for Windows Embedded. For more information about how to define this element in the source XAML for your application, see the EasingFunctionBase Class on MSDN.

.NET Framework Equivalent

System.Windows.Media.Animation.EasingFunctionBase.EasingMode

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXREasingFunctionBase
XREasingMode