AnimationExtensions.AbortAnimation(IAnimatable, String) 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.
Stops the animation.
public:
[System::Runtime::CompilerServices::Extension]
static bool AbortAnimation(Microsoft::Maui::Controls::IAnimatable ^ self, System::String ^ handle);
public static bool AbortAnimation (this Microsoft.Maui.Controls.IAnimatable self, string handle);
static member AbortAnimation : Microsoft.Maui.Controls.IAnimatable * string -> bool
<Extension()>
Public Function AbortAnimation (self As IAnimatable, handle As String) As Boolean
Parameters
- self
- IAnimatable
The object on which this method will be run.
- handle
- String
An animation key that must be unique among its sibling and parent animations for the duration of the animation.
Returns
Remarks
If handle
refers to an animation that belongs to this IAnimatable instance, then its tweener handlers are removed, the tweener is stopped, the animation is removed from this IAnimatable instance, and it is marked as finished. If handle
refers to one of the kinetics that belong to this IAnimatable instance, then it and its ticker are removed.
Applies to
.NET MAUI
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기