Edit

Bagikan melalui


UIViewPropertyAnimator.AddAnimations Method

Definition

Overloads

AddAnimations(Action)

Appends the specified animationT:System.Action to the callback list.

AddAnimations(Action, nfloat)

Appends the specified animationT:System.Action to the callback list.

AddAnimations(Action)

Appends the specified animationT:System.Action to the callback list.

[Foundation.Export("addAnimations:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddAnimations (Action animation);
abstract member AddAnimations : Action -> unit
override this.AddAnimations : Action -> unit

Parameters

animation
Action

The new animations.

Attributes

Applies to

AddAnimations(Action, nfloat)

Appends the specified animationT:System.Action to the callback list.

[Foundation.Export("addAnimations:delayFactor:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void AddAnimations (Action animation, nfloat delayFactor);
abstract member AddAnimations : Action * nfloat -> unit
override this.AddAnimations : Action * nfloat -> unit

Parameters

animation
Action

The new animation

delayFactor
nfloat

A value between 0.0 and 1.0 that specifies at what percentage of the animation's duration the animation should begin.

Attributes

Applies to