Edit

Share via


StopAnimationActivity Class

Definition

An IActivity which stops the provided AnimationSet when invoked.

public class StopAnimationActivity : Microsoft.Toolkit.Uwp.UI.Animations.Activity
type StopAnimationActivity = class
    inherit Activity
Public Class StopAnimationActivity
Inherits Activity
Inheritance
Windows.UI.Xaml.DependencyObject
StopAnimationActivity

Constructors

StopAnimationActivity()

Fields

AnimationProperty

Identifies the dependency property.

TargetObjectProperty

Identifies the dependency property.

Properties

Animation

Gets or sets the linked AnimationSet instance to stop.

Delay

Gets or sets the TimeSpan to wait before running the activity.

(Inherited from Activity)
TargetObject

Gets or sets the object to stop the specified animation for. If not specified, will use the current object the parent animation is running on.

Methods

InvokeAsync(UIElement, CancellationToken)

Invokes the current activity.

Applies to