Share via


IUISpringLoadedInteractionContext Interface

Definition

Contains information about spring-loaded interaction behavior.

[Foundation.Protocol(Name="UISpringLoadedInteractionContext", WrapperType=typeof(UIKit.UISpringLoadedInteractionContextWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="LocationInView", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIView) }, ReturnType=typeof(CoreGraphics.CGPoint), Selector="locationInView:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="state", IsProperty=true, IsRequired=true, IsStatic=false, Name="State", PropertyType=typeof(UIKit.UISpringLoadedInteractionEffectState), Selector="state")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="targetView", IsProperty=true, IsRequired=true, IsStatic=false, Name="TargetView", PropertyType=typeof(UIKit.UIView), Selector="targetView", SetterSelector="setTargetView:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="targetItem", IsProperty=true, IsRequired=true, IsStatic=false, Name="TargetItem", PropertyType=typeof(Foundation.NSObject), Selector="targetItem", SetterSelector="setTargetItem:")]
public interface IUISpringLoadedInteractionContext : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UISpringLoadedInteractionContext", WrapperType=typeof(UIKit.UISpringLoadedInteractionContextWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="LocationInView", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(UIKit.UIView) }, ReturnType=typeof(CoreGraphics.CGPoint), Selector="locationInView:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="state", IsProperty=true, IsRequired=true, IsStatic=false, Name="State", PropertyType=typeof(UIKit.UISpringLoadedInteractionEffectState), Selector="state")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="targetView", IsProperty=true, IsRequired=true, IsStatic=false, Name="TargetView", PropertyType=typeof(UIKit.UIView), Selector="targetView", SetterSelector="setTargetView:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="targetItem", IsProperty=true, IsRequired=true, IsStatic=false, Name="TargetItem", PropertyType=typeof(Foundation.NSObject), Selector="targetItem", SetterSelector="setTargetItem:")>]
type IUISpringLoadedInteractionContext = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Name Description
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

Name Description
LocationInView(UIView)

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

Extension Methods

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

Applies to