UITextDragDelegate_Extensions UITextDragDelegate_Extensions Class


Extension methods to the IUITextDragDelegate interface to support all the methods from the UITextDragDelegate protocol.

public static class UITextDragDelegate_Extensions
type UITextDragDelegate_Extensions = class


The extension methods for IUITextDragDelegate allow developers to treat instances of the interface as having all the optional methods of the original UITextDragDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.


DragSessionDidEnd(IUITextDragDelegate, IUITextDraggable, IUIDragSession, UIDropOperation) DragSessionDidEnd(IUITextDragDelegate, IUITextDraggable, IUIDragSession, UIDropOperation)

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

DragSessionWillBegin(IUITextDragDelegate, IUITextDraggable, IUIDragSession) DragSessionWillBegin(IUITextDragDelegate, IUITextDraggable, IUIDragSession)

Method that is called just before a drag session begins.

GetItemsForDrag(IUITextDragDelegate, IUITextDraggable, IUITextDragRequest) GetItemsForDrag(IUITextDragDelegate, IUITextDraggable, IUITextDragRequest)

Method that is called to get custom drag items.

GetPreviewForLiftingItem(IUITextDragDelegate, IUITextDraggable, UIDragItem, IUIDragSession) GetPreviewForLiftingItem(IUITextDragDelegate, IUITextDraggable, UIDragItem, IUIDragSession)

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

WillAnimateLift(IUITextDragDelegate, IUITextDraggable, IUIDragAnimating, IUIDragSession) WillAnimateLift(IUITextDragDelegate, IUITextDraggable, IUIDragAnimating, IUIDragSession)

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

Applies to