次の方法で共有


Animation.Commit メソッド

定義

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

public void Commit (Microsoft.Maui.Controls.IAnimatable owner, string name, uint rate = 16, uint length = 250, Microsoft.Maui.Easing easing = default, Action<double,bool> finished = default, Func<bool> repeat = default);
override this.Commit : Microsoft.Maui.Controls.IAnimatable * string * uint32 * uint32 * Microsoft.Maui.Easing * Action<double, bool> * Func<bool> -> unit
Public Sub Commit (owner As IAnimatable, name As String, Optional rate As UInteger = 16, Optional length As UInteger = 250, Optional easing As Easing = Nothing, Optional finished As Action(Of Double, Boolean) = Nothing, Optional repeat As Func(Of Boolean) = Nothing)

パラメーター

owner
IAnimatable

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

name
String

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

rate
UInt32

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

length
UInt32

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

easing
Easing

アニメーションの切り替え、出力、または切り替えに使用するイージング関数。

finished
Action<Double,Boolean>

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

repeat
Func<Boolean>

アニメーションを続行する必要がある場合に true を返す関数。

適用対象