Upravit

Sdílet prostřednictvím


UITextDropDelegate_Extensions Class

Definition

Extension methods to the IUITextDropDelegate interface to support all the methods from the UITextDropDelegate protocol.

public static class UITextDropDelegate_Extensions
type UITextDropDelegate_Extensions = class
Inheritance
UITextDropDelegate_Extensions

Remarks

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

Methods

DropSessionDidEnd(IUITextDropDelegate, IUITextDroppable, IUIDropSession)

Method that is called when the drop session ends.

DropSessionDidEnter(IUITextDropDelegate, IUITextDroppable, IUIDropSession)

Method that is called when the drop point enters the text view.

DropSessionDidExit(IUITextDropDelegate, IUITextDroppable, IUIDropSession)

Method that is called when the drop point leaves the text view.

DropSessionDidUpdate(IUITextDropDelegate, IUITextDroppable, IUIDropSession)

Method that is called when the drop point over the text view changes.

GetPreviewForDroppingAllItems(IUITextDropDelegate, IUITextDroppable, UITargetedDragPreview)

Method that is called once to get the drag preview to use for dropping all the items.

GetProposalForDrop(IUITextDropDelegate, IUITextDroppable, IUITextDropRequest)

Method that is called to get the drop proposal.

WillBecomeEditable(IUITextDropDelegate, IUITextDroppable, IUITextDropRequest)

Method that is called to determine whether a non-editable text view can accept drops.

WillPerformDrop(IUITextDropDelegate, IUITextDroppable, IUITextDropRequest)

Method that is called just before the drop is performed.

Applies to