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

IUIAnimationVariable 接口

Defines an animation variable, which represents a visual element that can be animated.

实现时

Client applications do not implement this interface; custom implementations are not supported.

使用时

Client applications use IUIAnimationVariable to store values that can be animated by Windows Animation. Use IUIAnimationManager::CreateAnimationVariable to create new animation variables.

成员

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

方法

IUIAnimationVariable 接口 定义以下 方法.

方法说明
GetValue

Gets the current value of the animation variable.

GetFinalValue

Gets the final value of the animation variable.

GetPreviousValue

Gets the previous value of the animation variable.

GetIntegerValue

Gets the current value of the animation variable as an integer.

GetFinalIntegerValue

Gets the final value of the animation variable as an integer.

GetPreviousIntegerValue

Gets the previous value of the animation variable as an integer.

GetCurrentStoryboard

Gets the storyboard that is currently animating the animation variable.

SetLowerBound

Sets the lower bound (floor) for the animation variable.

SetUpperBound

Sets the upper bound (ceiling) for the animation variable.

SetRoundingMode

Specifies the rounding mode for the animation variable.

SetTag

Sets the tag for an animation variable.

GetTag

Gets the tag for an animation variable.

SetVariableChangeHandler

Specifies a variable change handler.

SetVariableIntegerChangeHandler

Specifies an integer variable change handler.

 

评论

Along with IUIAnimationTransition and IUIAnimationStoryboard, IUIAnimationVariable is a primary component for building animations. To create and manage animation variables, use IUIAnimationManager.

要求

最低支持的客户端

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

最低支持的服务器

均不受支持

标头

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

IID

IID_IUIAnimationVariable 定义为 8CEEB155-2849-4ce5-9448-91FF70E1E4D9

另请参见

IUIAnimationManager::CreateAnimationVariable
IUIAnimationManager::ScheduleTransition
IUIAnimationManager::GetVariableFromTag
IUIAnimationStoryboard::AddTransition
IUIAnimationStoryboard::AddTransitionAtKeyframe
IUIAnimationStoryboard::AddTransitionBetweenKeyframes
IUIAnimationStoryboard::HoldVariable

 

 

社区附加资源

显示:
© 2015 Microsoft