Udostępnij za pośrednictwem


CompositionObject.StartAnimationGroupWithIAnimationObject Method

Definition

Starts an animation group on the specified target.

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)

Parameters

target
IAnimationObject

The object that defines the property to be animated.

animation
ICompositionAnimationBase

The animation to associate with the specified property.

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