UIDragInteractionDelegate_Extensions.GetPreviewForCancellingItem(IUIDragInteractionDelegate, UIDragInteraction, UIDragItem, UITargetedDragPreview) UIDragInteractionDelegate_Extensions.GetPreviewForCancellingItem(IUIDragInteractionDelegate, UIDragInteraction, UIDragItem, UITargetedDragPreview) Method

Definition

Method that is called for each visible item in a drag session when the user cancels the drag session.

public static UIKit.UITargetedDragPreview GetPreviewForCancellingItem (this UIKit.IUIDragInteractionDelegate This, UIKit.UIDragInteraction interaction, UIKit.UIDragItem item, UIKit.UITargetedDragPreview defaultPreview);
static member GetPreviewForCancellingItem : UIKit.IUIDragInteractionDelegate * UIKit.UIDragInteraction * UIKit.UIDragItem * UIKit.UITargetedDragPreview -> UIKit.UITargetedDragPreview

Parameters

This
IUIDragInteractionDelegate IUIDragInteractionDelegate

The instance on which this extension method operates.

interaction
UIDragInteraction UIDragInteraction

The interaction that is making the request.

item
UIDragItem UIDragItem

The item for which to get a preview.

defaultPreview
UITargetedDragPreview UITargetedDragPreview

The default drag preview for the item.

Returns

Applies to