IAnimatable 接口

定义

此类型支持 WPF 基础结构,但不可直接在代码中使用。This type supports the WPF infrastructure and is not intended to be used directly from your code. 若要使某个类可进行动画处理,它应该从 UIElementContentElementAnimatable 派生。To make a class animatable, it should derive from UIElement, ContentElement, or Animatable.

public interface class IAnimatable
public interface IAnimatable
type IAnimatable = interface
Public Interface IAnimatable
派生

属性

HasAnimatedProperties

获取一个值,该值指示此实例是否具有任何经过动画处理的属性。Gets a value that indicates whether this instance has any animated properties.

方法

ApplyAnimationClock(DependencyProperty, AnimationClock)

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

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.

BeginAnimation(DependencyProperty, AnimationTimeline)

基于指定的 AnimationTimelineDependencyProperty 对象初始化动画序列。Initiates an animation sequence for the DependencyProperty object, based on the specified AnimationTimeline.

BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)

根据指定的 DependencyPropertyAnimationTimeline 启动 HandoffBehavior 对象的动画序列。Initiates an animation sequence for the DependencyProperty.object, based on both the specified AnimationTimeline and HandoffBehavior.

GetAnimationBaseValue(DependencyProperty)

检索指定 DependencyProperty 对象的基值。Retrieves the base value of the specified DependencyProperty object.

适用于

另请参阅