IAnimatable.ApplyAnimationClock Method

Definition

Applies the effect of a given AnimationClock to a given dependency property.

Overloads

ApplyAnimationClock(DependencyProperty, AnimationClock)

Applies the effect of a given AnimationClock to a given dependency property.

ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)

Applies the effect of a given AnimationClock to a given dependency property. The effect of the new AnimationClock on any current animations is determined by the value of the handoffBehavior parameter.

ApplyAnimationClock(DependencyProperty, AnimationClock)

Applies the effect of a given AnimationClock to a given dependency property.

C#
public void ApplyAnimationClock(System.Windows.DependencyProperty dp, System.Windows.Media.Animation.AnimationClock clock);

Parameters

clock
AnimationClock

The AnimationClock that animates the property.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)

Applies the effect of a given AnimationClock to a given dependency property. The effect of the new AnimationClock on any current animations is determined by the value of the handoffBehavior parameter.

C#
public void ApplyAnimationClock(System.Windows.DependencyProperty dp, System.Windows.Media.Animation.AnimationClock clock, System.Windows.Media.Animation.HandoffBehavior handoffBehavior);

Parameters

clock
AnimationClock

The AnimationClock that animates the property.

handoffBehavior
HandoffBehavior

Determines how the new AnimationClock will transition from or affect any current animations on the property.

See also

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9