GoDiagram Web Reference
DoSelectionDropped Method

Perform the behavior that normally occurs when the Selection has been dropped in this view.
Syntax
'Declaration
 
Public Overridable Function DoSelectionDropped( _
   ByVal evt As GoInputEventArgs _
) As Boolean
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 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 GoToolDragging.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.

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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback