Share via


IUIViewAnimating Interface

Definition

Interface defining methods for custom animator objects.

[Foundation.Protocol(Name="UIViewAnimating", WrapperType=typeof(UIKit.UIViewAnimatingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="StartAnimation", Selector="startAnimation")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="StartAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Double) }, Selector="startAnimationAfterDelay:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PauseAnimation", Selector="pauseAnimation")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="StopAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Boolean) }, Selector="stopAnimation:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="FinishAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIViewAnimatingPosition) }, Selector="finishAnimationAtPosition:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="state", IsProperty=true, IsRequired=true, IsStatic=false, Name="State", PropertyType=typeof(UIKit.UIViewAnimatingState), Selector="state")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isRunning", IsProperty=true, IsRequired=true, IsStatic=false, Name="Running", PropertyType=typeof(System.Boolean), Selector="running")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isReversed", IsProperty=true, IsRequired=true, IsStatic=false, Name="Reversed", PropertyType=typeof(System.Boolean), Selector="reversed", SetterSelector="setReversed:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="fractionComplete", IsProperty=true, IsRequired=true, IsStatic=false, Name="FractionComplete", PropertyType=typeof(System.Runtime.InteropServices.NFloat), Selector="fractionComplete", SetterSelector="setFractionComplete:")]
public interface IUIViewAnimating : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIViewAnimating", WrapperType=typeof(UIKit.UIViewAnimatingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="StartAnimation", Selector="startAnimation")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="StartAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Double) }, Selector="startAnimationAfterDelay:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PauseAnimation", Selector="pauseAnimation")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="StopAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Boolean) }, Selector="stopAnimation:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="FinishAnimation", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIViewAnimatingPosition) }, Selector="finishAnimationAtPosition:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="state", IsProperty=true, IsRequired=true, IsStatic=false, Name="State", PropertyType=typeof(UIKit.UIViewAnimatingState), Selector="state")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isRunning", IsProperty=true, IsRequired=true, IsStatic=false, Name="Running", PropertyType=typeof(System.Boolean), Selector="running")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isReversed", IsProperty=true, IsRequired=true, IsStatic=false, Name="Reversed", PropertyType=typeof(System.Boolean), Selector="reversed", SetterSelector="setReversed:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="fractionComplete", IsProperty=true, IsRequired=true, IsStatic=false, Name="FractionComplete", PropertyType=typeof(System.Runtime.InteropServices.NFloat), Selector="fractionComplete", SetterSelector="setFractionComplete:")>]
type IUIViewAnimating = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
FractionComplete

Gets or sets the percentage of the property's animation completion.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Reversed

Gets or sets the direction of the animation.

Running

Whether the animation is currently running.

State

The current UIViewAnimatingState of the animation.

Methods

Name Description
FinishAnimation(UIViewAnimatingPosition)

Finishes the animation. Must be preceded by call to CreateRunningPropertyAnimator(Double, Double, UIViewAnimationOptions, Action, Action<UIViewAnimatingPosition>).

PauseAnimation()

Pauses the animation.

StartAnimation()

Begins the animation.

StartAnimation(Double)
StopAnimation(Boolean)

Stops the animation at the current position.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to