Animation<TValue,TKeyFrame>.AppendToBuilder Method

Definition

Overloads

AppendToBuilder(INormalizedKeyFrameAnimationBuilder<TKeyFrame>, Nullable<EasingType>, Nullable<EasingMode>)

Appends the current keyframe values to a target INormalizedKeyFrameAnimationBuilder<T> instance. This method will also automatically generate keyframes for To and From.

AppendToBuilder(AnimationBuilder, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<EasingType>, Nullable<EasingMode>)

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

AppendToBuilder(INormalizedKeyFrameAnimationBuilder<TKeyFrame>, Nullable<EasingType>, Nullable<EasingMode>)

Appends the current keyframe values to a target INormalizedKeyFrameAnimationBuilder<T> instance. This method will also automatically generate keyframes for To and From.

protected Microsoft.Toolkit.Uwp.UI.Animations.INormalizedKeyFrameAnimationBuilder<TKeyFrame> AppendToBuilder (Microsoft.Toolkit.Uwp.UI.Animations.INormalizedKeyFrameAnimationBuilder<TKeyFrame> builder, Microsoft.Toolkit.Uwp.UI.Animations.EasingType? easingTypeHint, Windows.UI.Xaml.Media.Animation.EasingMode? easingModeHint);
override this.AppendToBuilder : Microsoft.Toolkit.Uwp.UI.Animations.INormalizedKeyFrameAnimationBuilder<'KeyFrame (requires 'KeyFrame : struct)> * Nullable<Microsoft.Toolkit.Uwp.UI.Animations.EasingType> * Nullable<Windows.UI.Xaml.Media.Animation.EasingMode> -> Microsoft.Toolkit.Uwp.UI.Animations.INormalizedKeyFrameAnimationBuilder<'KeyFrame (requires 'KeyFrame : struct)>
Protected Function AppendToBuilder (builder As INormalizedKeyFrameAnimationBuilder(Of TKeyFrame), easingTypeHint As Nullable(Of EasingType), easingModeHint As Nullable(Of EasingMode)) As INormalizedKeyFrameAnimationBuilder(Of TKeyFrame)

Parameters

builder
INormalizedKeyFrameAnimationBuilder<TKeyFrame>

The target INormalizedKeyFrameAnimationBuilder<T> instance to add the keyframe to.

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 INormalizedKeyFrameAnimationBuilder<T> instance as builder.

Applies to

AppendToBuilder(AnimationBuilder, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<EasingType>, Nullable<EasingMode>)

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

public override 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);
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 Overrides 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.

Applies to