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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI