UIElement.StopAnimation(ICompositionAnimationBase) 方法

定义

停止元素上的指定动画。

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)

参数

animation
ICompositionAnimationBase

要停止的动画。

Windows 要求

要求 说明
设备系列
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v7.0 中引入)

适用于