Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Animatable::ApplyAnimationClock Method (DependencyProperty^, AnimationClock^)


Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the SnapshotAndReplace handoff behavior is used.

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

virtual void ApplyAnimationClock(
	DependencyProperty^ dp,
	AnimationClock^ clock
) sealed


Type: System.Windows::DependencyProperty^

The property to animate.

Type: System.Windows.Media.Animation::AnimationClock^

The clock with which to animate the specified property. If clock is null, all animations will be removed from the specified property (but not stopped).

Note that using this method to removing clocks from a property does not stop those clocks.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft