ITimeline.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, 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 * 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, 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.

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