BeginAnimation Method (DependencyProperty, AnimationTimeline)
Collapse the table of content
Expand the table of content

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
Available since 3.0
Return to top
Show:
© 2016 Microsoft