UIDropInteractionDelegate.GetPreviewForDroppingItem 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 drag item to allow the developer to provide a custom preview.
[Foundation.Export("dropInteraction:previewForDroppingItem:withDefault:")]
public virtual UIKit.UITargetedDragPreview GetPreviewForDroppingItem (UIKit.UIDropInteraction interaction, UIKit.UIDragItem item, UIKit.UITargetedDragPreview defaultPreview);
abstract member GetPreviewForDroppingItem : UIKit.UIDropInteraction * UIKit.UIDragItem * UIKit.UITargetedDragPreview -> UIKit.UITargetedDragPreview
override this.GetPreviewForDroppingItem : UIKit.UIDropInteraction * UIKit.UIDragItem * UIKit.UITargetedDragPreview -> UIKit.UITargetedDragPreview
Parameters
- interaction
- UIDropInteraction
The interaction that is making the request.
- item
- UIDragItem
The item for which to get a preview.
- defaultPreview
- UITargetedDragPreview
The default preview for the item.
Returns
- Attributes