Edit

Share via


UITextDragDelegate_Extensions Class

Definition

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

public static class UITextDragDelegate_Extensions
type UITextDragDelegate_Extensions = class
Inheritance
UITextDragDelegate_Extensions

Remarks

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.

Methods

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