AnimationExtensions.AbortAnimation(IAnimatable, String) メソッド

定義

アニメーションを停止します。

public static bool AbortAnimation (this Xamarin.Forms.IAnimatable self, string handle);
static member AbortAnimation : Xamarin.Forms.IAnimatable * string -> bool

パラメーター

self
IAnimatable

このメソッドが実行されるオブジェクト。

handle
String

そのアニメーションが継続している間、その兄弟アニメーションや親アニメーションに対して一意である必要があるアニメーション キー。

戻り値

注釈

がこのIAnimatableインスタンスに属するアニメーションを参照している場合handleは、その tweener ハンドラーが削除され、tweener が停止され、このIAnimatableインスタンスからアニメーションが削除され、完了としてマークされます。 がこのIAnimatableインスタンスに属するキネティックの 1 つを参照している場合handleは、そのティッカーとそのティッカーが削除されます。

適用対象