IAttachedTimeline.AppendToBuilder 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.
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.
- 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
.