IAnimatable.BeginAnimation IAnimatable.BeginAnimation IAnimatable.BeginAnimation IAnimatable.BeginAnimation Method

定义

启动此实例的动画序列。Initiates an animation sequence for this instance.

重载

BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline)

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

BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)

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

注解

呈现下一帧后, 将触发动画序列。The animation sequence is triggered once the next frame is rendered.

BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline) BeginAnimation(DependencyProperty, AnimationTimeline)

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

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

参数

dp
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

要进行动画处理的对象。The object to animate.

animation
AnimationTimeline AnimationTimeline AnimationTimeline AnimationTimeline

具有对属性进行动画处理所需功能的时间线。The timeline with the necessary functionality to animate the property.

注解

呈现下一帧后, 将触发动画序列。The animation sequence is triggered once the next frame is rendered.

BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)

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

public:
 void BeginAnimation(System::Windows::DependencyProperty ^ dp, System::Windows::Media::Animation::AnimationTimeline ^ animation, System::Windows::Media::Animation::HandoffBehavior handoffBehavior);
public void BeginAnimation (System.Windows.DependencyProperty dp, System.Windows.Media.Animation.AnimationTimeline animation, System.Windows.Media.Animation.HandoffBehavior handoffBehavior);
abstract member BeginAnimation : System.Windows.DependencyProperty * System.Windows.Media.Animation.AnimationTimeline * System.Windows.Media.Animation.HandoffBehavior -> unit

参数

dp
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

要进行动画处理的对象。The object to animate.

animation
AnimationTimeline AnimationTimeline AnimationTimeline AnimationTimeline

具有调整新动画所需功能的时间线。The timeline with the necessary functionality to tailor the new animation.

handoffBehavior
HandoffBehavior HandoffBehavior HandoffBehavior HandoffBehavior

一个对象,它指定用来与所有相关动画序列进行交互的方式。The object specifying the manner in which to interact with all relevant animation sequences.

注解

呈现下一帧后, 将触发动画序列。The animation sequence is triggered once the next frame is rendered.

适用于