共用方式為


CAnimationBaseObject::ApplyTransitions

Adds transitions to storyboard with encapsulated animation variable.

virtual BOOL ApplyTransitions(
   IUIAnimationStoryboard* pStoryboard,
   BOOL bDependOnKeyframes
);

Parameters

  • pStoryboard
    A pointer to a storyboard.

  • bDependOnKeyframes
    With FALSE this method adds only those transitions that do not depend on keyframes.

Return Value

TRUE if transitions were added successfully.

Remarks

Adds related transitions, that have been added with AddTransition (overloaded methods in derived classes), to storyboard.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationBaseObject Class