次の方法で共有


IXRTimeline::GetAutoReverse (Compact 2013)

3/28/2014

This method retrieves a value that indicates whether the timeline plays in reverse after it completes a forward iteration.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetAutoReverse(
    bool* pAutoReverse
) = 0;

Parameters

  • pAutoReverse
    [out] Pointer to a Boolean value that indicates whether the timeline plays in reverse at the end of each iteration. This value is true if the timeline plays in reverse; otherwise, it is false.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

If pAutoReverse is true and the timeline is set to repeat itself, each forward iteration is followed by a backward iteration. This makes one repetition.

For example, if GetAutoReverse retrieves a value of true, and IXRTimeline::GetRepeatBehavior retrieves an XRRepeatBehavior structure with XRRepeatBehavior.IterationCount set to 2, the timeline would play forward, then play backward, then play forward again, and then play backward again.

.NET Framework Equivalent

System.Windows.Media.Animation.Timeline.AutoReverse

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRTimeline
IXRTimeline::SetAutoReverse