IUIAnimationManager2::ScheduleTransition method
Creates and schedules a single-transition storyboard.
Syntax
HRESULT ScheduleTransition( [in] IUIAnimationVariable2 *variable, [in] IUIAnimationTransition2 *transition, [in] UI_ANIMATION_SECONDS timeNow );
Parameters
- variable [in]
-
The animation variable.
- transition [in]
-
A transition to be applied to the animation variable.
- timeNow [in]
-
The current system time.
Return value
Returns S_OK if successful; otherwise an HRESULT error code. See Windows Animation Error Codes for a list of error codes.
Remarks
This method schedules a new storyboard by creating the storyboard, applying the specified transition to the specified variable, and then scheduling the storyboard.
Requirements
|
Minimum supported client |
Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_IUIAnimationManager2 is defined as D8B6F7D4-4109-4d3f-ACEE-879926968CB1 |
See also
- IUIAnimationManager2
- IUIAnimationTimer::GetTime
- IUIAnimationTransition
- IUIAnimationTransition2
- IUIAnimationTransitionLibrary
- IUIAnimationTransitionLibrary2
- IUIAnimationStoryboard
- IUIAnimationStoryboard2
- IUIAnimationVariable
- IUIAnimationVariable2