Windows apps
Collapse the table of content
Expand the table of content
Information
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)

public void ApplyAnimationClock(
	DependencyProperty dp,
	AnimationClock clock
)

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
Return to top
Show:
© 2017 Microsoft