IUIAnimationManager2::ScheduleTransition method (uianimation.h)

Creates and schedules a single-transition storyboard.

Syntax

HRESULT ScheduleTransition(
  [in] IUIAnimationVariable2   *variable,
  [in] IUIAnimationTransition2 *transition,
  [in] UI_ANIMATION_SECONDS    timeNow
);

Parameters

[in] variable

The animation variable.

[in] transition

A transition to be applied to the animation variable.

[in] timeNow

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

Requirement Value
Minimum supported client Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header uianimation.h
DLL UIAnimation.dll

See also

IUIAnimationManager2

IUIAnimationStoryboard

IUIAnimationStoryboard2

IUIAnimationTimer::GetTime

IUIAnimationTransition

IUIAnimationTransition2

IUIAnimationTransitionLibrary

IUIAnimationTransitionLibrary2

IUIAnimationVariable

IUIAnimationVariable2