ViewExtensions.CancelAnimations(VisualElement) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.