AnimationBuilder.ExternalAnimation 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.
Overloads
ExternalAnimation(CompositionObject, CompositionAnimation) |
Adds a new external animation to the current schedule, which will be executed on a given Windows.UI.Composition.CompositionObject when the current AnimationBuilder instance is invoked. |
ExternalAnimation(CompositionAnimation) |
Adds a new external animation to the current schedule, which will be executed on the same target object the current AnimationBuilder instance will be invoked upon. |
ExternalAnimation(Timeline) |
Adds a new external animation to the current schedule, which will be executed on the same target object the current AnimationBuilder instance will be invoked upon. |
ExternalAnimation(CompositionObject, CompositionAnimation)
Adds a new external animation to the current schedule, which will be executed on a given Windows.UI.Composition.CompositionObject when the current AnimationBuilder instance is invoked.
public Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder ExternalAnimation (Windows.UI.Composition.CompositionObject target, Windows.UI.Composition.CompositionAnimation animation);
member this.ExternalAnimation : Windows.UI.Composition.CompositionObject * Windows.UI.Composition.CompositionAnimation -> Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder
Public Function ExternalAnimation (target As CompositionObject, animation As CompositionAnimation) As AnimationBuilder
Parameters
- target
- Windows.UI.Composition.CompositionObject
The Windows.UI.Composition.CompositionObject target to invoke the animation upon.
- animation
- Windows.UI.Composition.CompositionAnimation
The external Windows.UI.Composition.CompositionAnimation instance to add to the schedule.
Returns
The current AnimationBuilder instance.
Applies to
ExternalAnimation(CompositionAnimation)
Adds a new external animation to the current schedule, which will be executed on the same target object the current AnimationBuilder instance will be invoked upon.
public Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder ExternalAnimation (Windows.UI.Composition.CompositionAnimation animation);
member this.ExternalAnimation : Windows.UI.Composition.CompositionAnimation -> Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder
Public Function ExternalAnimation (animation As CompositionAnimation) As AnimationBuilder
Parameters
- animation
- Windows.UI.Composition.CompositionAnimation
The external Windows.UI.Composition.CompositionAnimation instance to add to the schedule.
Returns
The current AnimationBuilder instance.
Applies to
ExternalAnimation(Timeline)
Adds a new external animation to the current schedule, which will be executed on the same target object the current AnimationBuilder instance will be invoked upon.
public Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder ExternalAnimation (Windows.UI.Xaml.Media.Animation.Timeline animation);
member this.ExternalAnimation : Windows.UI.Xaml.Media.Animation.Timeline -> Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder
Public Function ExternalAnimation (animation As Timeline) As AnimationBuilder
Parameters
- animation
- Windows.UI.Xaml.Media.Animation.Timeline
The external Windows.UI.Xaml.Media.Animation.Timeline instance to add to the schedule.
Returns
The current AnimationBuilder instance.