Visual3D.BeginAnimation 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
根據指定的 DependencyProperty 和 AnimationTimeline啟動物件動畫序列HandoffBehavior。
多載
| 名稱 | Description |
|---|---|
| BeginAnimation(DependencyProperty, AnimationTimeline) |
根據指定的 DependencyProperty,為物件啟動動畫序列AnimationTimeline。 |
| BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) |
根據指定的 DependencyProperty 和 AnimationTimeline啟動物件動畫序列HandoffBehavior。 |
BeginAnimation(DependencyProperty, AnimationTimeline)
根據指定的 DependencyProperty,為物件啟動動畫序列AnimationTimeline。
public:
virtual 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
override this.BeginAnimation : System.Windows.DependencyProperty * System.Windows.Media.Animation.AnimationTimeline -> unit
Public Sub BeginAnimation (dp As DependencyProperty, animation As AnimationTimeline)
參數
要 DependencyProperty 動畫化的物件。
- animation
- AnimationTimeline
時間軸具備必要功能以使該屬性動畫化。
實作
備註
當下一幀渲染時,動畫序列會被觸發。
適用於
BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)
根據指定的 DependencyProperty 和 AnimationTimeline啟動物件動畫序列HandoffBehavior。
public:
virtual 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
override this.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)
參數
要 DependencyProperty 動畫化的物件。
- animation
- AnimationTimeline
時間軸包含自訂新動畫所需的功能。
- handoffBehavior
- HandoffBehavior
指定如何與所有相關動畫序列互動的物件。
實作
備註
當下一幀渲染時,動畫序列會被觸發。