UIViewPropertyAnimator.AddAnimations 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.
Overloads
AddAnimations(Action) |
Appends the specified |
AddAnimations(Action, nfloat) |
Appends the specified |
AddAnimations(Action)
Appends the specified animation
T: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 animation
T: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