Skip to content

Latest commit

 

History

History
134 lines (95 loc) · 4.87 KB

nf-uianimation-iuianimationstoryboard-addtransitionatkeyframe.md

File metadata and controls

134 lines (95 loc) · 4.87 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:uianimation.IUIAnimationStoryboard.AddTransitionAtKeyframe
IUIAnimationStoryboard::AddTransitionAtKeyframe (uianimation.h)
Adds a transition that starts at the specified keyframe. (IUIAnimationStoryboard.AddTransitionAtKeyframe)
AddTransitionAtKeyframe
AddTransitionAtKeyframe method [Windows Animation]
AddTransitionAtKeyframe method [Windows Animation]
IUIAnimationStoryboard interface
IUIAnimationStoryboard interface [Windows Animation]
AddTransitionAtKeyframe method
IUIAnimationStoryboard.AddTransitionAtKeyframe
IUIAnimationStoryboard::AddTransitionAtKeyframe
uianimation.iuianimationstoryboard_addtransitionatkeyframe
uianimation/IUIAnimationStoryboard::AddTransitionAtKeyframe
uianimation\iuianimationstoryboard_addtransitionatkeyframe.htm
UIAnimation
94a9aafc-fe5a-49a8-8e14-9e7c4624869a
12/05/2018
AddTransitionAtKeyframe, AddTransitionAtKeyframe method [Windows Animation], AddTransitionAtKeyframe method [Windows Animation],IUIAnimationStoryboard interface, IUIAnimationStoryboard interface [Windows Animation],AddTransitionAtKeyframe method, IUIAnimationStoryboard.AddTransitionAtKeyframe, IUIAnimationStoryboard::AddTransitionAtKeyframe, uianimation.iuianimationstoryboard_addtransitionatkeyframe, uianimation/IUIAnimationStoryboard::AddTransitionAtKeyframe
uianimation.h
Windows
Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps \| UWP apps]
None supported
UIAnimation.idl
UIAnimation.dll
Windows
19H1
IUIAnimationStoryboard::AddTransitionAtKeyframe
uianimation/IUIAnimationStoryboard::AddTransitionAtKeyframe
c++
APIRef
kbSyntax
COM
UIAnimation.dll
IUIAnimationStoryboard.AddTransitionAtKeyframe

IUIAnimationStoryboard::AddTransitionAtKeyframe

-description

Adds a transition that starts at the specified keyframe.

-parameters

-param variable [in]

The animation variable for which a transition is to be added.

-param transition [in]

The transition to be added.

-param startKeyframe [in]

The keyframe that specifies the beginning of the new transition.

-returns

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 code Description
UI_E_TRANSITION_ALREADY_USED
This transition has already been added to a storyboard or has been added to a storyboard that has finished playing and been released.
UI_E_TRANSITION_ECLIPSED
The transition might eclipse the beginning of another transition in the storyboard.

-remarks

Transitions must be added in the order in which they will be played. A transition may begin playing before the preceding transition in the storyboard has finished, in which case the initial value and velocity seen by the new transition is determined by the state of the preceding one. A transition should not begin before the start of the preceding transition.

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.

-see-also

IUIAnimationStoryboard

IUIAnimationStoryboard::AddKeyframeAfterTransition

IUIAnimationStoryboard::AddKeyframeAtOffset

IUIAnimationStoryboard::AddTransition

IUIAnimationStoryboard::AddTransitionBetweenKeyframes

IUIAnimationTransition

IUIAnimationTransitionLibrary