Share via


IUIInteraction Interface

Definition

Interface for adding drag-and-drop and spring-loaded operations.

[Foundation.Protocol(Name="UIInteraction", WrapperType=typeof(UIKit.UIInteractionWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WillMoveToView", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIView) }, Selector="willMoveToView:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidMoveToView", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIView) }, Selector="didMoveToView:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Weak, GetterSelector="view", IsProperty=true, IsRequired=true, IsStatic=false, Name="View", PropertyType=typeof(UIKit.UIView), Selector="view")]
public interface IUIInteraction : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIInteraction", WrapperType=typeof(UIKit.UIInteractionWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="WillMoveToView", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIView) }, Selector="willMoveToView:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DidMoveToView", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIView) }, Selector="didMoveToView:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Weak, GetterSelector="view", IsProperty=true, IsRequired=true, IsStatic=false, Name="View", PropertyType=typeof(UIKit.UIView), Selector="view")>]
type IUIInteraction = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
View

Gets the view that owns the interaction.

Methods

Name Description
DidMoveToView(UIView)

Method that is called after the interaction is added to the provided view.

WillMoveToView(UIView)

Method that is called just before the interaction is added to the provided view.

Extension Methods

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

Applies to