IAttachedTimeline.AppendToBuilder Method

Definition

Appends the current animation to a target AnimationBuilder instance. This method is used when the current ITimeline instance is explicitly triggered.

public Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder AppendToBuilder (Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder builder, Windows.UI.Xaml.UIElement parent, TimeSpan? delayHint = default, TimeSpan? durationHint = default, Microsoft.Toolkit.Uwp.UI.Animations.EasingType? easingTypeHint = default, Windows.UI.Xaml.Media.Animation.EasingMode? easingModeHint = default);
abstract member AppendToBuilder : Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder * Windows.UI.Xaml.UIElement * Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<Microsoft.Toolkit.Uwp.UI.Animations.EasingType> * Nullable<Windows.UI.Xaml.Media.Animation.EasingMode> -> Microsoft.Toolkit.Uwp.UI.Animations.AnimationBuilder
Public Function AppendToBuilder (builder As AnimationBuilder, parent As UIElement, Optional delayHint As Nullable(Of TimeSpan) = Nothing, Optional durationHint As Nullable(Of TimeSpan) = Nothing, Optional easingTypeHint As Nullable(Of EasingType) = Nothing, Optional easingModeHint As Nullable(Of EasingMode) = Nothing) As AnimationBuilder

Parameters

builder
AnimationBuilder

The target AnimationBuilder instance to schedule the animation on.

parent
Windows.UI.Xaml.UIElement

The parent Windows.UI.Xaml.UIElement this animation will be started on.

delayHint
Nullable<TimeSpan>

A hint for the animation delay, if present.

durationHint
Nullable<TimeSpan>

A hint for the animation duration, if present.

easingTypeHint
Nullable<EasingType>

A hint for the easing type, if present.

easingModeHint
Nullable<Windows.UI.Xaml.Media.Animation.EasingMode>

A hint for the easing mode, if present.

Returns

The same AnimationBuilder instance as builder.

Applies to