IAnimatable.BeginAnimation Method (DependencyProperty, AnimationTimeline)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft