AnimationExtensions.AbortAnimation(IAnimatable, String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
アニメーションを停止します。
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
パラメーター
- self
- IAnimatable
このメソッドが実行されるオブジェクト。
- handle
- String
そのアニメーションが継続している間、その兄弟アニメーションや親アニメーションに対して一意である必要があるアニメーション キー。
戻り値
注釈
このIAnimatableインスタンスに属するアニメーションを参照している場合handle
は、その tweener ハンドラーが削除され、tweener が停止され、このIAnimatableインスタンスからアニメーションが削除され、完了としてマークされます。 このIAnimatableインスタンスに属するキネティックの 1 つを参照している場合handle
は、そのインスタンスとそのティッカーが削除されます。