IAnimatable.BeginAnimation 方法

定義

初始化這個執行個體的動畫序列。Initiates an animation sequence for this instance.

多載

BeginAnimation(DependencyProperty, AnimationTimeline)

根據指定的 AnimationTimeline,初始化 DependencyProperty 物件的動畫序列。Initiates an animation sequence for the DependencyProperty object, based on the specified AnimationTimeline.

BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)

根據指定的 DependencyPropertyAnimationTimeline,初始化 HandoffBehavior 物件的動畫序列。Initiates an animation sequence for the DependencyProperty.object, based on both the specified AnimationTimeline and HandoffBehavior.

備註

呈現下一個畫面格後,就會觸發動畫順序。The animation sequence is triggered once the next frame is rendered.

BeginAnimation(DependencyProperty, AnimationTimeline)

根據指定的 AnimationTimeline,初始化 DependencyProperty 物件的動畫序列。Initiates an animation sequence for the DependencyProperty object, based on the specified AnimationTimeline.

public:
 void BeginAnimation(System::Windows::DependencyProperty ^ dp, System::Windows::Media::Animation::AnimationTimeline ^ animation);
public void BeginAnimation (System.Windows.DependencyProperty dp, System.Windows.Media.Animation.AnimationTimeline animation);
abstract member BeginAnimation : System.Windows.DependencyProperty * System.Windows.Media.Animation.AnimationTimeline -> unit
Public Sub BeginAnimation (dp As DependencyProperty, animation As AnimationTimeline)

參數

dp
DependencyProperty

要繪製的物件。The object to animate.

animation
AnimationTimeline

具有必要功能可繪製屬性的時間軸。The timeline with the necessary functionality to animate the property.

備註

呈現下一個畫面格後,就會觸發動畫順序。The animation sequence is triggered once the next frame is rendered.

BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)

根據指定的 DependencyPropertyAnimationTimeline,初始化 HandoffBehavior 物件的動畫序列。Initiates an animation sequence for the DependencyProperty.object, based on both the specified AnimationTimeline and HandoffBehavior.

public:
 void BeginAnimation(System::Windows::DependencyProperty ^ dp, System::Windows::Media::Animation::AnimationTimeline ^ animation, System::Windows::Media::Animation::HandoffBehavior handoffBehavior);
public void BeginAnimation (System.Windows.DependencyProperty dp, System.Windows.Media.Animation.AnimationTimeline animation, System.Windows.Media.Animation.HandoffBehavior handoffBehavior);
abstract member BeginAnimation : System.Windows.DependencyProperty * System.Windows.Media.Animation.AnimationTimeline * System.Windows.Media.Animation.HandoffBehavior -> unit
Public Sub BeginAnimation (dp As DependencyProperty, animation As AnimationTimeline, handoffBehavior As HandoffBehavior)

參數

dp
DependencyProperty

要繪製的物件。The object to animate.

animation
AnimationTimeline

具有自訂新動畫之必要功能的時間表。The timeline with the necessary functionality to tailor the new animation.

handoffBehavior
HandoffBehavior

指定與所有相關動畫序列之互動方式的物件。The object specifying the manner in which to interact with all relevant animation sequences.

備註

呈現下一個畫面格後,就會觸發動畫順序。The animation sequence is triggered once the next frame is rendered.

適用於