IAnimatable.BeginAnimation Method (DependencyProperty, AnimationTimeline)

 
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 the specified AnimationTimeline.

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

void BeginAnimation(
	DependencyProperty dp,
	AnimationTimeline animation
)

Parameters

dp
Type: System.Windows.DependencyProperty

The object to animate.

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

The timeline with the necessary functionality to animate the property.

The animation sequence is triggered once the next frame is rendered.

.NET Framework
Available since 3.0
Return to top
Show: