Visual3D.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 the DependencyProperty object, based on both the specified AnimationTimeline and HandoffBehavior.
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. |
BeginAnimation(DependencyProperty, AnimationTimeline)
Initiates an animation sequence for the DependencyProperty object, based on the specified AnimationTimeline.
public:
virtual 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
override this.BeginAnimation : System.Windows.DependencyProperty * System.Windows.Media.Animation.AnimationTimeline -> unit
Public Sub BeginAnimation (dp As DependencyProperty, animation As AnimationTimeline)
Parameters
The DependencyProperty object to animate.
- animation
- AnimationTimeline
The timeline that has the necessary functionality to animate the property.
Implements
Remarks
The animation sequence is triggered when 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:
virtual 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
override this.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 DependencyProperty object to animate.
- animation
- AnimationTimeline
The timeline that has the necessary functionality to customize the new animation.
- handoffBehavior
- HandoffBehavior
The object that specifies how to interact with all relevant animation sequences.
Implements
Remarks
The animation sequence is triggered when the next frame is rendered.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈