Animation.Commit 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.
Runs the owner
animation with the supplied parameters.
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)
Parameters
- owner
- IAnimatable
The owning animation that will be animated.
- name
- String
The name, or handle, that is used to access and track the animation and its state.
- rate
- UInt32
The time, in milliseconds, between frames.
- length
- UInt32
The number of milliseconds over which to interpolate the animation.
- easing
- Easing
The easing function to use to transition in, out, or in and out of the animation.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET MAUI