IAnimatable.BeginAnimation Method (DependencyProperty, AnimationTimeline, HandoffBehavior)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initiates an animation sequence for the DependencyProperty.object, based on both the specified AnimationTimeline and HandoffBehavior.

Namespace:   System.Windows.Media.Animation
Assembly:  PresentationCore (in PresentationCore.dll)

void BeginAnimation(
	DependencyProperty dp,
	AnimationTimeline animation,
	HandoffBehavior handoffBehavior
)

Parameters

dp
Type: System.Windows.DependencyProperty

The object to animate.

animation
Type: System.Windows.Media.Animation.AnimationTimeline

The timeline with the necessary functionality to tailor the new animation.

handoffBehavior
Type: System.Windows.Media.Animation.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.

.NET Framework
Available since 3.0
Return to top
Show: