GoDiagram Win Reference
DoExternalDrag Method

Handle dragging from another Control.
Syntax
'Declaration
 
Protected Overridable Sub DoExternalDrag( _
   ByVal evt As DragEventArgs _
) 
protected virtual void DoExternalDrag( 
   DragEventArgs evt
)

Parameters

evt
Remarks

By default this sets the DragEventArgs.Effect according to whether CanInsertObjects is true. It also starts autoscrolling, if appropriate. Override this method to change the behavior when a drag comes in from another window, before a drop occurs. To examine the data, you may wish to use code such as: GoSelection sel = evt.Data.GetData(typeof(GoSelection)) as GoSelection; if (sel != null) { ... look at the selection's GoView, or at the individual selected objects ... }

This is called by OnDragOver if IsInternalDragDrop is false.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoView Class
GoView Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback