Compartilhar via


ViewExtensions.CancelAnimations(VisualElement) Method

Definition

Aborts all animations (e.g. LayoutTo, TranslateTo, ScaleTo, etc.) on the view element.

public:
[System::Runtime::CompilerServices::Extension]
 static void CancelAnimations(Microsoft::Maui::Controls::VisualElement ^ view);
public static void CancelAnimations (this Microsoft.Maui.Controls.VisualElement view);
static member CancelAnimations : Microsoft.Maui.Controls.VisualElement -> unit
<Extension()>
Public Sub CancelAnimations (view As VisualElement)

Parameters

view
VisualElement

The view on which this method operates.

Exceptions

Thrown if view is null.

Applies to