iOS Guides | Samples

UIKit.UITextDragDelegate_Extensions Class

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

See Also: UITextDragDelegate_Extensions


public static class UITextDragDelegate_Extensions


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.


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions:

The members of UIKit.UITextDragDelegate_Extensions are listed below.

See Also: Object

Public Methods

DragSessionDidEnd(this IUITextDragDelegate, IUITextDraggable, IUIDragSession, UIDropOperation)
Method that is called when the user cancels or completes the drag session.
DragSessionWillBegin(this IUITextDragDelegate, IUITextDraggable, IUIDragSession)
Method that is called just before a drag session begins.
GetItemsForDrag(this IUITextDragDelegate, IUITextDraggable, IUITextDragRequest) : UIDragItem[]
Method that is called to get custom drag items.
GetPreviewForLiftingItem(this IUITextDragDelegate, IUITextDraggable, UIDragItem, IUIDragSession) : UITargetedDragPreview
Method that is called to get a preview for the item that is lifting.
WillAnimateLift(this IUITextDragDelegate, IUITextDraggable, IUIDragAnimating, IUIDragSession)
Method that is called just before an item lift is animated.