Share via


IUITextDragDelegate Interface

Definition

Interface for customizing text view drag source behavior.

[Foundation.Protocol(Name="UITextDragDelegate", WrapperType=typeof(UIKit.UITextDragDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetItemsForDrag", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextDraggable), typeof(UIKit.IUITextDragRequest) }, ReturnType=typeof(UIKit.UIDragItem[]), Selector="textDraggableView:itemsForDrag:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreviewForLiftingItem", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextDraggable), typeof(UIKit.UIDragItem), typeof(UIKit.IUIDragSession) }, ReturnType=typeof(UIKit.UITargetedDragPreview), Selector="textDraggableView:dragPreviewForLiftingItem:session:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillAnimateLift", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextDraggable), typeof(UIKit.IUIDragAnimating), typeof(UIKit.IUIDragSession) }, Selector="textDraggableView:willAnimateLiftWithAnimator:session:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionWillBegin", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextDraggable), typeof(UIKit.IUIDragSession) }, Selector="textDraggableView:dragSessionWillBegin:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionDidEnd", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextDraggable), typeof(UIKit.IUIDragSession), typeof(UIKit.UIDropOperation) }, Selector="textDraggableView:dragSessionDidEnd:withOperation:")]
public interface IUITextDragDelegate : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UITextDragDelegate", WrapperType=typeof(UIKit.UITextDragDelegateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetItemsForDrag", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextDraggable), typeof(UIKit.IUITextDragRequest) }, ReturnType=typeof(UIKit.UIDragItem[]), Selector="textDraggableView:itemsForDrag:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="GetPreviewForLiftingItem", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextDraggable), typeof(UIKit.UIDragItem), typeof(UIKit.IUIDragSession) }, ReturnType=typeof(UIKit.UITargetedDragPreview), Selector="textDraggableView:dragPreviewForLiftingItem:session:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="WillAnimateLift", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextDraggable), typeof(UIKit.IUIDragAnimating), typeof(UIKit.IUIDragSession) }, Selector="textDraggableView:willAnimateLiftWithAnimator:session:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionWillBegin", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextDraggable), typeof(UIKit.IUIDragSession) }, Selector="textDraggableView:dragSessionWillBegin:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DragSessionDidEnd", ParameterByRef=new System.Boolean[] { false, false, false }, ParameterType=new System.Type[] { typeof(UIKit.IUITextDraggable), typeof(UIKit.IUIDragSession), typeof(UIKit.UIDropOperation) }, Selector="textDraggableView:dragSessionDidEnd:withOperation:")>]
type IUITextDragDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
DragSessionDidEnd(IUITextDraggable, IUIDragSession, UIDropOperation)

Method that is called when the user cancels or completes the drag session.

DragSessionWillBegin(IUITextDraggable, IUIDragSession)

Method that is called just before a drag session begins.

GetItemsForDrag(IUITextDraggable, IUITextDragRequest)

Method that is called to get custom drag items.

GetPreviewForLiftingItem(IUITextDraggable, UIDragItem, IUIDragSession)

Method that is called to get a preview for the item that is lifting.

WillAnimateLift(IUITextDraggable, IUIDragAnimating, IUIDragSession)

Method that is called just before an item lift is animated.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
DragSessionDidEnd(IUITextDragDelegate, IUITextDraggable, IUIDragSession, UIDropOperation)

Method that is called when the user cancels or completes the drag session.

DragSessionWillBegin(IUITextDragDelegate, IUITextDraggable, IUIDragSession)

Method that is called just before a drag session begins.

GetItemsForDrag(IUITextDragDelegate, IUITextDraggable, IUITextDragRequest)

Method that is called to get custom drag items.

GetPreviewForLiftingItem(IUITextDragDelegate, IUITextDraggable, UIDragItem, IUIDragSession)

Method that is called to get a preview for the item that is lifting.

WillAnimateLift(IUITextDragDelegate, IUITextDraggable, IUIDragAnimating, IUIDragSession)

Method that is called just before an item lift is animated.

Applies to