Expand Minimize

IUIAnimationVariable interface

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

When to implement

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

When to use

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

Members

The IUIAnimationVariable interface inherits from the IUnknown interface. IUIAnimationVariable also has these types of members:

Methods

The IUIAnimationVariable interface has these methods.

MethodDescription
GetCurrentStoryboard

Gets the storyboard that is currently animating the animation variable.

GetFinalIntegerValue

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

GetFinalValue

Gets the final value of the animation variable.

GetIntegerValue

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

GetPreviousIntegerValue

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

GetPreviousValue

Gets the previous value of the animation variable.

GetTag

Gets the tag for an animation variable.

GetValue

Gets the current value of the animation variable.

SetLowerBound

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

SetRoundingMode

Specifies the rounding mode for the animation variable.

SetTag

Sets the tag for an animation variable.

SetUpperBound

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

SetVariableChangeHandler

Specifies a variable change handler.

SetVariableIntegerChangeHandler

Specifies an integer variable change handler.

 

Remarks

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

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

IID

IID_IUIAnimationVariable is defined as 8CEEB155-2849-4ce5-9448-91FF70E1E4D9

See also

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.