IUIAnimationTransitionLibrary2 interface (uianimation.h)
Defines a library of standard transitions for a specified dimension.
Inheritance
The IUIAnimationTransitionLibrary2 interface inherits from the IUnknown interface. IUIAnimationTransitionLibrary2 also has these types of members:
Methods
The IUIAnimationTransitionLibrary2 interface has these methods.
Remarks
Windows Animation includes a library of common transitions that developers can apply to variables through a storyboard. The parameters for specifying a transition depend on the type of transition. For some transitions, the duration of the transition is an explicit parameter; for others, the duration is determined by other parameters, such as speed or acceleration when the transition begins. A transition's initial value or velocity can be overridden if a discontinuous jump is desired, and duration can be queried after the transition is added to a storyboard.
If an application requires an effect that cannot be specified using the transition library, developers can implement custom transitions. A custom transition is created by first implementing the interpolator function for the transition, and then by using a factory object to generate transitions from interpolators. An interpolator must implement the IUIAnimationInterpolator2 interface; an implementation of the transition factory object is provided by the UIAnimationTransitionFactory2 object.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps | UWP apps] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | uianimation.h |
See also
IUIAnimationManager2::ScheduleTransition
IUIAnimationStoryboard::AddKeyframeAfterTransition
IUIAnimationStoryboard::AddTransition
IUIAnimationStoryboard::AddTransitionAtKeyframe