Share via


IUISpringLoadedInteractionBehavior Interface

Definition

Interface for specifying spring-loaded interaction behavior.

[Foundation.Protocol(Name="UISpringLoadedInteractionBehavior", WrapperType=typeof(UIKit.UISpringLoadedInteractionBehaviorWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ShouldAllowInteraction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UISpringLoadedInteraction), typeof(UIKit.IUISpringLoadedInteractionContext) }, ReturnType=typeof(System.Boolean), Selector="shouldAllowInteraction:withContext:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InteractionDidFinish", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISpringLoadedInteraction) }, Selector="interactionDidFinish:")]
public interface IUISpringLoadedInteractionBehavior : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UISpringLoadedInteractionBehavior", WrapperType=typeof(UIKit.UISpringLoadedInteractionBehaviorWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="ShouldAllowInteraction", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UISpringLoadedInteraction), typeof(UIKit.IUISpringLoadedInteractionContext) }, ReturnType=typeof(System.Boolean), Selector="shouldAllowInteraction:withContext:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="InteractionDidFinish", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UISpringLoadedInteraction) }, Selector="interactionDidFinish:")>]
type IUISpringLoadedInteractionBehavior = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
InteractionDidFinish(UISpringLoadedInteraction)

Method that is called when the user cancels or carries out the spring-loaded interaction.

ShouldAllowInteraction(UISpringLoadedInteraction, IUISpringLoadedInteractionContext)

Returns a Boolean value that tells whether spring-loading should start or continue for the specified context.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
InteractionDidFinish(IUISpringLoadedInteractionBehavior, UISpringLoadedInteraction)

Method that is called when the user cancels or carries out the spring-loaded interaction.

Applies to