UIDragInteractionDelegate.GetPreviewForCancellingItem(UIDragInteraction, UIDragItem, UITargetedDragPreview) Method

Definition

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

[Foundation.Export("dragInteraction:previewForCancellingItem:withDefault:")]
public virtual UIKit.UITargetedDragPreview GetPreviewForCancellingItem (UIKit.UIDragInteraction interaction, UIKit.UIDragItem item, UIKit.UITargetedDragPreview defaultPreview);
abstract member GetPreviewForCancellingItem : UIKit.UIDragInteraction * UIKit.UIDragItem * UIKit.UITargetedDragPreview -> UIKit.UITargetedDragPreview
override this.GetPreviewForCancellingItem : 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