IAnimatable.BeginAnimation Metoda

Definicja

Inicjuje sekwencję animacji dla tego wystąpienia.

Przeciążenia

BeginAnimation(DependencyProperty, AnimationTimeline)

Inicjuje sekwencję animacji dla DependencyProperty obiektu na podstawie określonego AnimationTimelineelementu .

BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)

Inicjuje sekwencję animacji dla DependencyPropertyobiektu ., na podstawie określonego AnimationTimeline i HandoffBehavior.

Uwagi

Sekwencja animacji jest wyzwalana po renderowaniu następnej ramki.

BeginAnimation(DependencyProperty, AnimationTimeline)

Inicjuje sekwencję animacji dla DependencyProperty obiektu na podstawie określonego AnimationTimelineelementu .

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)

Parametry

dp
DependencyProperty

Obiekt do animowania.

animation
AnimationTimeline

Oś czasu z niezbędną funkcjonalnością do animowania właściwości.

Uwagi

Sekwencja animacji jest wyzwalana po renderowaniu następnej ramki.

Dotyczy

BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)

Inicjuje sekwencję animacji dla DependencyPropertyobiektu ., na podstawie określonego AnimationTimeline i 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)

Parametry

dp
DependencyProperty

Obiekt do animowania.

animation
AnimationTimeline

Oś czasu z niezbędną funkcjonalnością, aby dostosować nową animację.

handoffBehavior
HandoffBehavior

Obiekt określający sposób interakcji ze wszystkimi odpowiednimi sekwencjami animacji.

Uwagi

Sekwencja animacji jest wyzwalana po renderowaniu następnej ramki.

Dotyczy