GoDiagram Win Reference
DoSelectionDropReject Method

Invoke BackgroundSelectionDropReject or ObjectSelectionDropReject event handlers and GoObject.GoObject.OnSelectionDropReject methods to see if any want to prevent a drop.
Syntax
'Declaration
 
Public Overridable Function DoSelectionDropReject( _
   ByVal evt As GoInputEventArgs _
) As Boolean
public virtual bool DoSelectionDropReject( 
   GoInputEventArgs evt
)

Parameters

evt

Return Value

true if no drop should occur; false if a drop is acceptable.
Remarks
This is normally called from the GoToolDragging tool's DoMouseMove and DoMouseUp methods, to decide whether a drop is permissible at the given input event point. In Windows Forms, it is also called by DoExternalDrop when dropping GoObjects, for completeness, when the GoToolDragging tool is not used for normal external drag-and-drops. This method must be called before calling DoSelectionDropped, but it may be called many times during a drag before a drop actually happens.
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