UIDragInteractionDelegate.GetPreviewForCancellingItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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