iOS Guides | Samples

MonoTouch.UIKit.UIViewPropertyAnimator Class

Manages the animation of properties of a UIView.

See Also: UIViewPropertyAnimator

Syntax

[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

Requirements

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

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

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
DelayDouble.
[read-only]
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.
ManualHitTestingEnabledBoolean.
ReversedBoolean. Gets or sets the direction of the animation.
[read-only]
RunningBoolean. Whether the animation is currently running.
[read-only]
StateUIViewAnimatingState. The current UIViewAnimatingState of the animation.
[read-only]
TimingParametersIUITimingCurveProvider. Retrieves the timing curve of the animation.
UserInteractionEnabledBoolean. Gets or sets whether the user can interact with the animation.

Public Methods

AddAnimations(Action)
Appends the specified animationAction to the callback list.
AddAnimations(Action, Single)
Appends the specified animationAction to the callback list.
AddCompletion(Action<UIViewAnimatingPosition>)
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.
static
CreateRunningPropertyAnimator(Double, Double, UIViewAnimationOptions, Action, Action<UIViewAnimatingPosition>) : UIViewPropertyAnimator
FinishAnimation(UIViewAnimatingPosition)
PauseAnimation()
Pauses the animation.
StartAnimation()
Begins the animation.
StartAnimation(Double)
StopAnimation(Boolean)
Stops the animation at the current position.