編輯

共用方式為


IUISpringLoadedInteractionContext Interface

Definition

Contains information about spring-loaded interaction behavior.

[Foundation.Protocol(Name="UISpringLoadedInteractionContext", WrapperType=typeof(UIKit.UISpringLoadedInteractionContextWrapper))]
[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 IUISpringLoadedInteractionContext : IDisposable, ObjCRuntime.INativeObject
type IUISpringLoadedInteractionContext = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
State

Gets the current state of the spring-loaded interaction.

TargetItem

Gets or sets the target item of the spring-loaded interaction.

TargetView

Gets or sets the target view to which the spring-loaded interaction is being applied.

Methods

LocationInView(UIView)

Method that is called to get the location of the drag activity in the view coordinate system.

Applies to