UIElement.StopAnimation(ICompositionAnimationBase) Method
Definition
Stops the specified animation on the element.
Equivalent WinUI method: Microsoft.UI.Xaml.UIElement.StopAnimation.
public:
virtual void StopAnimation(ICompositionAnimationBase ^ animation) = StopAnimation;
void StopAnimation(ICompositionAnimationBase const & animation);
public void StopAnimation(ICompositionAnimationBase animation);
function stopAnimation(animation)
Public Sub StopAnimation (animation As ICompositionAnimationBase)
Parameters
- animation
- ICompositionAnimationBase
The animation to stop.
Windows 10 requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|