DragItem.Text

From Xojo Documentation

Property (As String )
aDragItem.Text = newStringValue
or
StringValue = aDragItem.Text

Supported for all project types and targets.

The text being dragged.

Sample Code

The following DropObject event handler of a ListBox determines whether the dragged item has text; if it does, it creates a new row and assigns the dragged item’s text property to the new row.

If obj.TextAvailable Then
Me.AddRow(obj.Text)
End If