iOS Guides | Samples

UIKit.UIDropInteractionDelegate_Extensions Class

Extension methods to the IUIDropInteractionDelegate interface to support all the methods from the UIDropInteractionDelegate protocol.

See Also: UIDropInteractionDelegate_Extensions

Syntax

public static class UIDropInteractionDelegate_Extensions

Remarks

The extension methods for IUIDropInteractionDelegate allow developers to treat instances of the interface as having all the optional methods of the original UIDropInteractionDelegate 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.UIDropInteractionDelegate_Extensions are listed below.

See Also: Object

Public Methods

static
CanHandleSession(this IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession) : Boolean
Returns true if the specified interaction can handle the specified session.
static
ConcludeDrop(this IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)
Method that is called after the drop is performed and all animations have completed.
static
GetPreviewForDroppingItem(this IUIDropInteractionDelegate, UIDropInteraction, UIDragItem, UITargetedDragPreview) : UITargetedDragPreview
Method that is called for each drag item to allow the developer to provide a custom preview.
static
PerformDrop(this IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)
Method that is called to consume data from the item providers in the drop session.
static
SessionDidEnd(this IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)
Method that is called to allow the developer to release all resources for the completed drop session.
static
SessionDidEnter(this IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)
Method that is called when the user drags the drop session into the view for the drop interaction.
static
SessionDidExit(this IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession)
Method that is called when the user drags the drop session out of the view for the drop interaction.
static
SessionDidUpdate(this IUIDropInteractionDelegate, UIDropInteraction, IUIDropSession) : UIDropProposal
Method that is called when the touch point moves into or within the view, or when drag items are added while the touch point is within the view.
static
WillAnimateDrop(this IUIDropInteractionDelegate, UIDropInteraction, UIDragItem, IUIDragAnimating)
Method that is called for each visible drag item just before the drop is animated.