GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / DoExternalDrag Method
Example
In This Topic
    DoExternalDrag Method
    In This Topic
    Handle dragging from another Control.
    Syntax
    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:

    This is called by OnDragOver if IsInternalDragDrop is false.

    Example
    GoSelection sel = evt.Data.GetData(typeof(GoSelection)) as GoSelection;
    if (sel != null) {
      ... look at the selection's GoView, or at the individual selected objects ...
    }
    See Also