IAnimatable.ApplyAnimationClock IAnimatable.ApplyAnimationClock IAnimatable.ApplyAnimationClock IAnimatable.ApplyAnimationClock Method

定义

将给定 AnimationClock 的效果应用于给定的依赖属性。Applies the effect of a given AnimationClock to a given dependency property.

重载

ApplyAnimationClock(DependencyProperty, AnimationClock) ApplyAnimationClock(DependencyProperty, AnimationClock) ApplyAnimationClock(DependencyProperty, AnimationClock) ApplyAnimationClock(DependencyProperty, AnimationClock)

将给定 AnimationClock 的效果应用于给定的依赖属性。Applies the effect of a given AnimationClock to a given dependency property.

ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)

将给定 AnimationClock 的效果应用于给定的依赖属性。Applies the effect of a given AnimationClock to a given dependency property. AnimationClock 对任何当前的动画所产生的效果均由 handoffBehavior 参数值确定。The effect of the new AnimationClock on any current animations is determined by the value of the handoffBehavior parameter.

ApplyAnimationClock(DependencyProperty, AnimationClock) ApplyAnimationClock(DependencyProperty, AnimationClock) ApplyAnimationClock(DependencyProperty, AnimationClock) ApplyAnimationClock(DependencyProperty, AnimationClock)

将给定 AnimationClock 的效果应用于给定的依赖属性。Applies the effect of a given AnimationClock to a given dependency property.

public:
 void ApplyAnimationClock(System::Windows::DependencyProperty ^ dp, System::Windows::Media::Animation::AnimationClock ^ clock);
public void ApplyAnimationClock (System.Windows.DependencyProperty dp, System.Windows.Media.Animation.AnimationClock clock);
abstract member ApplyAnimationClock : System.Windows.DependencyProperty * System.Windows.Media.Animation.AnimationClock -> unit
Public Sub ApplyAnimationClock (dp As DependencyProperty, clock As AnimationClock)

参数

clock
AnimationClock AnimationClock AnimationClock AnimationClock

对属性进行动画处理的 AnimationClockThe AnimationClock that animates the property.

另请参阅

ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)

将给定 AnimationClock 的效果应用于给定的依赖属性。Applies the effect of a given AnimationClock to a given dependency property. AnimationClock 对任何当前的动画所产生的效果均由 handoffBehavior 参数值确定。The effect of the new AnimationClock on any current animations is determined by the value of the handoffBehavior parameter.

public:
 void ApplyAnimationClock(System::Windows::DependencyProperty ^ dp, System::Windows::Media::Animation::AnimationClock ^ clock, System::Windows::Media::Animation::HandoffBehavior handoffBehavior);
public void ApplyAnimationClock (System.Windows.DependencyProperty dp, System.Windows.Media.Animation.AnimationClock clock, System.Windows.Media.Animation.HandoffBehavior handoffBehavior);
abstract member ApplyAnimationClock : System.Windows.DependencyProperty * System.Windows.Media.Animation.AnimationClock * System.Windows.Media.Animation.HandoffBehavior -> unit

参数

clock
AnimationClock AnimationClock AnimationClock AnimationClock

对属性进行动画处理的 AnimationClockThe AnimationClock that animates the property.

handoffBehavior
HandoffBehavior HandoffBehavior HandoffBehavior HandoffBehavior

确定新 AnimationClock 如何从属性上的任何当前的动画进行转换,或者对这些动画有何影响。Determines how the new AnimationClock will transition from or affect any current animations on the property.

另请参阅

适用于