Edit

Share via


IUITextDragDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol UITextDragDelegate.

[Foundation.Protocol(Name="UITextDragDelegate", WrapperType=typeof(UIKit.UITextDragDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUITextDragDelegate : IDisposable, ObjCRuntime.INativeObject
type IUITextDragDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UITextDragDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UITextDragDelegate protocol.

Optional methods (if any) are provided by the UITextDragDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension 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