共用方式為


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

適用於