GoDiagram Web Reference
OnSelectionDropReject Method

a GoObjectEventArgs whose GoObjectEventArgs.GoObjectEventArgs.GoObject property refers to the object at which the mouse might drop the selection; setting the GoInputEventArgs.InputState property to GoInputState.GoInputState.Cancel will also reject a drop, just as returning true does
Called during a user's drag of the view's Selection when the mouse is over this object, to give this object a chance to veto a drop.
Syntax
'Declaration
 
Public Overridable Function OnSelectionDropReject( _
   ByVal evt As GoObjectEventArgs, _
   ByVal view As GoView _
) As Boolean
public virtual bool OnSelectionDropReject( 
   GoObjectEventArgs evt,
   GoView view
)

Parameters

evt
a GoObjectEventArgs whose GoObjectEventArgs.GoObjectEventArgs.GoObject property refers to the object at which the mouse might drop the selection; setting the GoInputEventArgs.InputState property to GoInputState.GoInputState.Cancel will also reject a drop, just as returning true does
view

Return Value

True to indicate a drop of the view's Selection should not occur on this object. False to indicate that it might be OK, and to continue calling this method up the chain of parent objects to see if any parent wants to cancel the drop.
Remarks
By default this does nothing but return false. This method is normally invoked by the GoToolDragging tool, through the GoView.GoView.DoSelectionDropReject method.
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

GoObject Class
GoObject Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback