AnimationScope.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, TimeSpan? durationHint, Microsoft.Toolkit.Uwp.UI.Animations.EasingType? easingTypeHint, Windows.UI.Xaml.Media.Animation.EasingMode? easingModeHint);
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
override this.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, delayHint As Nullable(Of TimeSpan), durationHint As Nullable(Of TimeSpan), easingTypeHint As Nullable(Of EasingType), easingModeHint As Nullable(Of EasingMode)) 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.

Implements

Applies to