CompositionObject.StartAnimationGroupWithIAnimationObject 方法

定义

在指定目标上启动动画组。

public:
 static void StartAnimationGroupWithIAnimationObject(IAnimationObject ^ target, ICompositionAnimationBase ^ animation);
 static void StartAnimationGroupWithIAnimationObject(IAnimationObject const& target, ICompositionAnimationBase const& animation);
public static void StartAnimationGroupWithIAnimationObject(IAnimationObject target, ICompositionAnimationBase animation);
function startAnimationGroupWithIAnimationObject(target, animation)
Public Shared Sub StartAnimationGroupWithIAnimationObject (target As IAnimationObject, animation As ICompositionAnimationBase)

参数

target
IAnimationObject

定义要进行动画处理的属性的对象。

animation
ICompositionAnimationBase

要与指定属性关联的动画。

Windows 要求

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

适用于