GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoView Class / DoSelectionDropped Method
In This Topic
    DoSelectionDropped Method
    In This Topic
    Perform the behavior that normally occurs when the Selection has been dropped in this view.
    Syntax
    public virtual bool DoSelectionDropped( 
       GoInputEventArgs evt
    )

    Parameters

    evt

    Return Value

    true if the selection was dropped on a document object whose GoObject.GoObject.OnSelectionDropped method returned true
    Remarks

    By default this picks the document object at the event's GoInputEventArgs.DocPoint, ignoring all objects that are in the Selection or are part of any selected object. If an object is found, it raises the ObjectSelectionDropped event and calls GoObject.GoObject.OnSelectionDropped on the object and on its GoObject.Parents (if any) until it returns true.

    If no object is found at the event's point, it raises the BackgroundSelectionDropped event.

    This is normally called from the GoToolDragging tool's DoMouseUp method. For external drag-and-drops from other Controls, in Windows Forms, this method is also called. If ExternalDragDropsOnEnter is true, this method is called by the GoToolDragging tool, just as for an internal drag-and-drop. If ExternalDragDropsOnEnter is false, DoExternalDrop calls this method, since the regular GoToolDragging tool is not used on a normal external drop. This method should only be called when DoSelectionDropReject returns false.

    See Also