IXRVisualTransition::SetGeneratedDuration (Windows Embedded CE 6.0)
1/6/2010
This method sets how long it takes to move from one state to another.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetGeneratedDuration(
XRDuration* pGeneratedDuration
) = 0;
Parameters
- pGeneratedDuration
[in] Pointer to an XRDuration structure that defines how long a storyboard animation will play one time.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
You can determine how long a visual transition takes by calling IXRVisualTransition::GetGeneratedDuration.
.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::GetGeneratedDuration