Delen via


UIElement.StartAnimation(ICompositionAnimationBase) Method

Definition

Begins the specified animation on the element.

public:
 virtual void StartAnimation(ICompositionAnimationBase ^ animation) = StartAnimation;
void StartAnimation(ICompositionAnimationBase const& animation);
public void StartAnimation(ICompositionAnimationBase animation);
function startAnimation(animation)
Public Sub StartAnimation (animation As ICompositionAnimationBase)

Parameters

animation
ICompositionAnimationBase

The animation to start.

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