protected virtual GoObject GetExternalDragImage( DragEventArgs evt )
Parameters
- evt
Return Value
a GoImage that is added to this view, or null not to have any such image
protected virtual GoObject GetExternalDragImage( DragEventArgs evt )
DragEventArgs.Data
. If the data is a GoSelection, it calls GetBitmapFromCollection(IGoCollection,RectangleF,Boolean), using GoDocument.ComputeBounds to determine the size of the bitmap that is returned, and not drawing any paper background color. By default all other data formats are ignored, causing this method to return null. You can return other kinds of GoObjects besides GoImage. The object (if non-null) gets added to this view to be dragged around by the user to represent whatever might be dropped, and is discarded when the drag is finished whether or not a drop occurs. The relative position of the objects compared to the mouse position is obtained from the selection's GoSelection.HotSpot. The object returned by this method has defined its GoObject.Location so as to return the HotSpot point. The actual side-effects of a drop do not involve the object returned by this method.