DragItem.Picture

From Xojo Documentation

Property (As Picture )
aDragItem.Picture = newPictureValue
or
PictureValue = aDragItem.Picture

Supported for all project types and targets.

The Picture being dragged.

Sample Code

The following code is in the DropObject event handler of an ImageWell. It assigns the dragged picture to the Image property of the ImageWell.

If obj.PictureAvailable Then
Me.Image = obj.Picture
ElseIf obj.FolderItemAvailable then
Me.Image = Picture.Open(obj.FolderItem)
End If