IAnimatable.BeginAnimation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initiates an animation sequence for this instance.
Overloads
BeginAnimation(DependencyProperty, AnimationTimeline) |
Initiates an animation sequence for the DependencyProperty object, based on the specified AnimationTimeline. |
BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) |
Initiates an animation sequence for the DependencyProperty.object, based on both the specified AnimationTimeline and HandoffBehavior. |
Remarks
The animation sequence is triggered once the next frame is rendered.
BeginAnimation(DependencyProperty, AnimationTimeline)
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)
Parameters
The object to animate.
- animation
- AnimationTimeline
The timeline with the necessary functionality to animate the property.
Remarks
The animation sequence is triggered once the next frame is rendered.
Applies to
BeginAnimation(DependencyProperty, AnimationTimeline, 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
Public Sub BeginAnimation (dp As DependencyProperty, animation As AnimationTimeline, handoffBehavior As HandoffBehavior)
Parameters
The object to animate.
- animation
- AnimationTimeline
The timeline with the necessary functionality to tailor the new animation.
- handoffBehavior
- HandoffBehavior
The object specifying the manner in which to interact with all relevant animation sequences.
Remarks
The animation sequence is triggered once the next frame is rendered.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈