UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:uianimation.IUIAnimationVariableIntegerChangeHandler2.OnIntegerValueChanged |
IUIAnimationVariableIntegerChangeHandler2::OnIntegerValueChanged (uianimation.h) |
Handles events that occur when the integer value of an animation variable changes in the specified dimension. |
|
uianimation\iuianimationvariableintegerchangehandler2_onintegervaluechanged.htm |
UIAnimation |
76889784-BF1B-475B-8D84-201BEE6F0594 |
12/05/2018 |
IUIAnimationVariableIntegerChangeHandler2 interface [Windows Animation],OnIntegerValueChanged method, IUIAnimationVariableIntegerChangeHandler2.OnIntegerValueChanged, IUIAnimationVariableIntegerChangeHandler2::OnIntegerValueChanged, OnIntegerValueChanged, OnIntegerValueChanged method [Windows Animation], OnIntegerValueChanged method [Windows Animation],IUIAnimationVariableIntegerChangeHandler2 interface, uianimation.iuianimationvariableintegerchangehandler2_onintegervaluechanged, uianimation/IUIAnimationVariableIntegerChangeHandler2::OnIntegerValueChanged |
uianimation.h |
Windows |
Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps \| UWP apps] |
None supported |
UIAnimation.idl |
UIAnimation.dll |
Windows |
19H1 |
|
|
|
|
|
|
Handles events that occur when the integer value of an animation variable changes in the specified dimension.
The storyboard that is animating the animation variable specified by the variable parameter.
The animation variable that has been updated.
The new integer value of the animation variable.
The previous integer value of the animation variable.
The dimension in which the integer value of the animation variable changed.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See Windows Animation Error Codes for a list of error codes.
This method receives updates as INT32 values.
To receive updates as DOUBLE values, use the OnValueChanged method.
OnIntegerValueChanged events might occur less frequently than OnValueChanged events because values such as 2.2, 2.3, and 2.4 would all be rounded to the same integer.
By default, a call made in a callback method to any other animation method results in the call failing and returning UI_E_ILLEGAL_REENTRANCY. However, there are exceptions to this default. The following methods can be successfully called from OnIntegerValueChanged:
- GetValue
- GetFinalValue
- GetPreviousValue
- GetIntegerValue
- GetFinalIntegerValue
- GetPreviousIntegerValue
- GetCurrentStoryboard
- GetVariableFromTag
- GetStoryboardFromTag
- GetTag
- GetTag
IUIAnimationVariableChangeHandler2
IUIAnimationVariableIntegerChangeHandler2