信息
您所需的主题如下所示。但此主题未包含在此库中。

IUIAnimationTransition 接口

Defines a transition, which determines how an animation variable changes over time.

实现时

Client applications do not implement this interface.

使用时

Client application use IUIAnimationTransition to define how a single animation variable changes over a particular time interval. A transition is created using one of the methods of the IUIAnimationTransitionLibrary interface. Transitions are added to a storyboard using the IUIAnimationStoryboard::AddTransition method, and then scheduled using the IUIAnimationManager::ScheduleTransition method.

成员

IUIAnimationTransition 接口 继承自IUnknown 接口. IUIAnimationTransition 还定义了以下成员:

方法

IUIAnimationTransition 接口 定义以下 方法.

方法说明
SetInitialValue

Sets the initial value for the transition.

SetInitialVelocity

Sets the initial velocity for the transition.

IsDurationKnown

Determines whether the transition's duration is currently known.

GetDuration

Gets the duration of the transition.

 

评论

IUIAnimationTransition is one of the primary interfaces used to add animation to an application, along with the IUIAnimationVariable and IUIAnimationStoryboard interfaces.

UIAnimationTransitionLibrary implements a library of standard transitions.

要求

最低支持的客户端

Windows 7, Windows Vista 以及 Windows Vista 的平台更新

最低支持的服务器

均不受支持

标头

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

IID

IID_IUIAnimationTransition 定义为 DC6CE252-F731-41cf-B610-614B6CA049AD

另请参见

Storyboard Overview
IUIAnimationManager::ScheduleTransition
IUIAnimationTransitionFactory
IUIAnimationTransitionLibrary
IUIAnimationStoryboard::AddTransition
IUIAnimationStoryboard::AddTransitionAtKeyframes
IUIAnimationStoryboard::AddTransitionBetweenKeyframes

 

 

社区附加资源

显示:
© 2015 Microsoft