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 引進)

適用於