Northwoods.Go Assembly > Northwoods.Go Namespace > GoView Class : DoSelectionDropped Method |
'Declaration Public Overridable Function DoSelectionDropped( _ ByVal evt As GoInputEventArgs _ ) As Boolean
public virtual bool DoSelectionDropped( GoInputEventArgs evt )
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 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.
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