IUIAnimationManager::CreateStoryboard method (uianimation.h)

Creates a new storyboard.

Syntax

HRESULT CreateStoryboard(
  [out] IUIAnimationStoryboard **storyboard
);

Parameters

[out] storyboard

The new storyboard.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See Windows Animation Error Codes for a list of error codes.

Remarks

Storyboards can specify complex coordinated updates to many animation variables. These updates happen in sequence or in parallel, and they are guaranteed to remain synchronized within the storyboard. A storyboard is created, populated with transitions on animation variables, and then scheduled.

Examples

For an example, see Create a Storyboard and Add Transitions.

Requirements

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

See also

IUIAnimationManager

IUIAnimationStoryboard