IUIAnimationVariableChangeHandler2 interface
Defines a method for handling animation variable update events. IUIAnimationVariableChangeHandler2 handles events that occur in a specified dimension.
When to implement
Client applications implement an IUIAnimationVariableChangeHandler2 handler to receive notifications when the value of an animation variable changes in a specified dimension.
When to use
To set this handler for an animation variable in a specified dimension, use the IUIAnimationVariable2::SetVariableChangeHandler method.
Members
The IUIAnimationVariableChangeHandler2 interface inherits from the IUnknown interface. IUIAnimationVariableChangeHandler2 also has these types of members:
Methods
The IUIAnimationVariableChangeHandler2 interface has these methods.
| Method | Description |
|---|---|
| OnValueChanged |
Handles events that occur when the value of an animation variable changes in the specified dimension. |
Remarks
The OnValueChanged method receives animation variable value updates as DOUBLE values. To receive value updates as INT32 values, use the IUIAnimationVariableIntegerChangeHandler2::OnIntegerValueChanged method.
Requirements
|
Minimum supported client |
Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_IUIAnimationVariableChangeHandler2 is defined as 63ACC8D2-6EAE-4bb0-B879-586DD8CFBE42 |
See also
- IUnknown
- Interfaces
- IUIAnimationVariable2::GetValue
- IUIAnimationVariable2::SetVariableChangeHandler
- IUIAnimationVariableIntegerChangeHandler2