AnimationSet.Stop 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.
Overloads
Stop() |
Cancels the current animation on the attached Windows.UI.Xaml.UIElement instance. |
Stop(UIElement) |
Cancels the current animation for a target Windows.UI.Xaml.UIElement instance. |
Stop()
Cancels the current animation on the attached Windows.UI.Xaml.UIElement instance.
public void Stop ();
member this.Stop : unit -> unit
Public Sub Stop ()
Exceptions
Thrown when there is no attached Windows.UI.Xaml.UIElement instance.
Applies to
Stop(UIElement)
Cancels the current animation for a target Windows.UI.Xaml.UIElement instance.
public void Stop (Windows.UI.Xaml.UIElement element);
member this.Stop : Windows.UI.Xaml.UIElement -> unit
Public Sub Stop (element As UIElement)
Parameters
- element
- Windows.UI.Xaml.UIElement
The target Windows.UI.Xaml.UIElement instance to stop the animation for.