IDataObject dataformats value

For drap drop events, I was wondering what the value is for a goobject if i were to call a DragEventsArgs.Data.GetDataPresent(string). So I can accept the drop of only go objects on my tab controls.

Thanks,
Ryan

The drag-and-drop data is actually a GoSelection, so the string should be “Northwoods.Go.GoSelection”. For what it’s worth, GoView.DoExternalDrop actually calls IDataObject.GetData(typeof(GoSelection)).
By the way, for completeness I should state that clipboard data is actually a GoDocument (or whatever document class you have as the document for the view), but you can customize the format name by setting the GoDocument.DataFormat property.

Thanks Walter.