Share via


CBaseTransition::AddToStoryboardAtKeyframes

Visual Studio 2010 SP1 is required.

Adds a transition to a storyboard.

BOOL AddToStoryboardAtKeyframes(
   IUIAnimationStoryboard* pStoryboard
);

Parameters

  • pStoryboard
    A pointer to storyboard, which will animate the related variable.

Return Value

TRUE, if transition was successfully added to a storyboard.

Remarks

Applies the transition to the related variable in the storyboard. If the start keyframe was specified, the transition begins at that keyframe. If the end keyframe was specified, the transition begins at the start keyframe and and stops at the end keyframe. If the transition was created with a duration parameter specified, that duration is overwritten with the duration of time between the start and end keyframes. If no keyframe was specified, the transition is appended to the transition added most recently to the variable.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CBaseTransition Class