iOS Guides | Samples

MonoTouch.UIKit.UIViewPropertyAnimator Class

Manages the animation of properties of a UIView.

See Also: UIViewPropertyAnimator


[MonoTouch.Foundation.Register("UIViewPropertyAnimator", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 10, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.TvOS, 10, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public class UIViewPropertyAnimator : NSObject, INSCopying, IUIViewImplicitlyAnimating, IDisposable

Related content


Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.UIKit.UIViewPropertyAnimator are listed below.

See Also: NSObject

Public Constructors

Default constructor.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.
Constructs a new UIViewPropertyAnimatior with the specified duration and timing.
Constructs a UIViewPropertyAnimator with the specified duration , curve, and animations.
Constructs a UIViewPropertyAnimator with a spring-based animation with the specified damping ratio.
Constructs a UIViewPropertyAnimator with a cubic Bezier timing curve.

Public Properties

ClassHandleIntPtr. The handle for this class.
DurationDouble. Get the duration, in seconds, of the animation.
FractionCompleteSingle. Gets or sets the percentage of the property's animation completion.
InterruptibleBoolean. Gets or sets whether the animation can be paused or stopped.
ReversedBoolean. Gets or sets the direction of the animation.
RunningBoolean. Whether the animation is currently running.
StateUIViewAnimatingState. The current UIViewAnimatingState of the animation.
TimingParametersIUITimingCurveProvider. Retrieves the timing curve of the animation.
UserInteractionEnabledBoolean. Gets or sets whether the user can interact with the animation.

Public Methods

Appends the specified animationAction to the callback list.
AddAnimations(Action, Single)
Appends the specified animationAction to the callback list.
Adds the completion .
ContinueAnimation(IUITimingCurveProvider, Single)
Replaces the timing curve and duration of this UIViewPropertyAnimator.
Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.
CreateRunningPropertyAnimator(Double, Double, UIViewAnimationOptions, Action, Action<UIViewAnimatingPosition>) : UIViewPropertyAnimator
Pauses the animation.
Begins the animation.
Stops the animation at the current position.