IUIAnimationTransition::SetInitialVelocity method (uianimation.h)
Sets the initial velocity for the transition.
Syntax
HRESULT SetInitialVelocity(
[in] DOUBLE velocity
);
Parameters
[in] velocity
The initial velocity for the transition.
Return value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See Windows Animation Error Codes for a list of error codes.
Remarks
This method should not be called after the transition has been added to a storyboard.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | uianimation.h |
DLL | UIAnimation.dll |