Edit

Share via


UIDragInteractionDelegate_Extensions.GetPreviewForCancellingItem 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

The instance on which this extension method operates.

interaction
UIDragInteraction

The interaction that is making the request.

item
UIDragItem

The item for which to get a preview.

defaultPreview
UITargetedDragPreview

The default drag preview for the item.

Returns

Applies to