Editar

Compartilhar via


IUISpringLoadedInteractionBehavior Interface

Definition

Interface for specifying spring-loaded interaction behavior.

[Foundation.Protocol(Name="UISpringLoadedInteractionBehavior", WrapperType=typeof(UIKit.UISpringLoadedInteractionBehaviorWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUISpringLoadedInteractionBehavior : IDisposable, ObjCRuntime.INativeObject
type IUISpringLoadedInteractionBehavior = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

ShouldAllowInteraction(UISpringLoadedInteraction, IUISpringLoadedInteractionContext)

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

Extension Methods

InteractionDidFinish(IUISpringLoadedInteractionBehavior, UISpringLoadedInteraction)

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

Applies to