UIElement.StopAnimation(ICompositionAnimationBase) Method

Definition

Stops the specified animation on the element.

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 requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to