Animatable.ApplyAnimationClock Method (DependencyProperty, AnimationClock)
.NET Framework (current version)
Applies an AnimationClock to the specified DependencyProperty. If the property is already animated, the SnapshotAndReplace handoff behavior is used.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- dp
-
Type:
System.Windows.DependencyProperty
The property to animate.
- clock
-
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
Available since 3.0
Show: