共用方式為


IAnimator.AddAnimation(Animation) Method

Definition

Add an Animation object to this element.

public:
 void AddAnimation(Microsoft::Maui::Animations::Animation ^ animation);
public void AddAnimation (Microsoft.Maui.Animations.Animation animation);
abstract member AddAnimation : Microsoft.Maui.Animations.Animation -> unit
Public Sub AddAnimation (animation As Animation)

Parameters

animation
Animation

The animation to be added.

Applies to