Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IUIAnimationStoryboard::AddKeyframeAfterTransition method

Adds a keyframe at the end of the specified transition.

Syntax


HRESULT AddKeyframeAfterTransition(
  [in]   IUIAnimationTransition *transition,
  [out]  UI_ANIMATION_KEYFRAME *keyframe
);

Parameters

transition [in]

The transition after which a keyframe is to be added.

keyframe [out]

The keyframe to be added.

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.

Return codeDescription
UI_E_TRANSITION_NOT_IN_STORYBOARD

The transition has not been added to the storyboard.

 

Remarks

A keyframe represents a moment in time within a storyboard and can be used to specify the start and end times of transitions. Because keyframes can be added at the ends of transitions, their offsets from the start of the storyboard may not be known until the storyboard is playing.

Requirements

Minimum supported client

Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

None supported [desktop apps | Windows Store apps]

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

See also

IUIAnimationStoryboard
IUIAnimationStoryboard::AddKeyframeAtOffset
IUIAnimationStoryboard::AddTransitionAtKeyframe
IUIAnimationStoryboard::AddTransitionBetweenKeyframes
IUIAnimationStoryboard::AddTransition
IUIAnimationTransition
IUIAnimationTransitionLibrary
UI_ANIMATION_KEYFRAME

 

 

Community Additions

Show:
© 2014 Microsoft