次の方法で共有


IXRVisualTransition::GetGeneratedDuration (Windows Embedded CE 6.0)

1/6/2010

This method retrieves how long it takes to move from one state to another.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetGeneratedDuration(
    XRDuration* pGeneratedDuration
) = 0;

Parameters

  • pGeneratedDuration
    [out] Pointer to an XRDuration structure that defines how long an animation storyboard will play once during a state transition.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

You can determine how long a visual transition takes by calling GetGeneratedDuration. When you call IXRVisualTransition::SetGeneratedDuration, you specify how long it will take for the visual transition to occur.

.NET Framework Equivalent

System.Windows.VisualTransition.GeneratedDuration

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRVisualTransition
IXRVisualTransition::SetGeneratedDuration