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.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UITargetedDragPreview? GetPreviewForCancellingItem(this UIKit.IUIDragInteractionDelegate This, UIKit.UIDragInteraction interaction, UIKit.UIDragItem item, UIKit.UITargetedDragPreview defaultPreview);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member GetPreviewForCancellingItem : UIKit.IUIDragInteractionDelegate * UIKit.UIDragInteraction * UIKit.UIDragItem * UIKit.UITargetedDragPreview -> UIKit.UITargetedDragPreview

Parameters

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

Attributes

Applies to