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

Syntax

public static class 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.

Requirements

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

The members of UIKit.UITextDragDelegate_Extensions are listed below.

See Also: Object

Public Methods

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