次の方法で共有


Animation.Commit メソッド

定義

指定したパラメーターを使用して owner アニメーションを実行します。

public void Commit (Xamarin.Forms.IAnimatable owner, string name, uint rate = 16, uint length = 250, Xamarin.Forms.Easing easing = default, Action<double,bool> finished = default, Func<bool> repeat = default);
member this.Commit : Xamarin.Forms.IAnimatable * string * uint32 * uint32 * Xamarin.Forms.Easing * Action<double, bool> * Func<bool> -> unit

パラメーター

owner
IAnimatable

実行される所有アニメーション。

name
System.String

アニメーションとその状態にアクセスまたは追跡するために使用する名前 (ハンドル)。

rate
System.UInt32

フレーム間の時間 (ミリ秒単位)。

length
System.UInt32

アニメーションを補間するミリ秒数。

easing
Easing

アニメーションに入る、アニメーションから出る、アニメーションに入ってから出るためのイージング関数。

finished
System.Action<System.Double,System.Boolean>

アニメーションの完了時に呼び出されるアクション。

repeat
System.Func<System.Boolean>

アニメーションを続ける場合に true を返す関数。

適用対象