GoDiagram Win Reference
ObjectSelectionDropReject Event

The event that is raised during a drag's mouse over a document object; setting the GoInputEventArgs.InputState property to GoInputState.GoInputState.Cancel will reject a drop of the selection at this input event point.
Syntax
'Declaration
 
<DescriptionAttribute("The view's Selection has been dragged over a document object (a GoObjectEventHandler); to reject a drop, set .InputState to Cancel")>
<CategoryAttribute("GoView")>
Public Event ObjectSelectionDropReject As GoObjectEventHandler
[DescriptionAttribute("The view's Selection has been dragged over a document object (a GoObjectEventHandler); to reject a drop, set .InputState to Cancel")]
[CategoryAttribute("GoView")]
public event GoObjectEventHandler ObjectSelectionDropReject
Event Data

The event handler receives an argument of type GoObjectEventArgs containing data related to this event. The following GoObjectEventArgs properties provide information specific to this event.

PropertyDescription
Alt (Inherited from Northwoods.Go.GoInputEventArgs)Gets whether Modifiers has Keys.Alt set.
Buttons (Inherited from Northwoods.Go.GoInputEventArgs)Gets or sets the MouseButtons used with this input event.
Control (Inherited from Northwoods.Go.GoInputEventArgs)Gets whether Modifiers has Keys.Control set.
Delta (Inherited from Northwoods.Go.GoInputEventArgs)Gets or sets the amount of change associated with a mouse-wheel rotation.
DocPoint (Inherited from Northwoods.Go.GoInputEventArgs)Gets or sets the point at which this input event occurred.
DoubleClick (Inherited from Northwoods.Go.GoInputEventArgs)Gets or sets whether this is a double-click event.
DragEventArgs (Inherited from Northwoods.Go.GoInputEventArgs)Gets or sets the DragEventArgs associated with this input event.
GoObject Gets or sets the GoObject associated with this event.
InputState (Inherited from Northwoods.Go.GoInputEventArgs)Gets or sets the GoInputState as defined by various tools.
IsContextButton (Inherited from Northwoods.Go.GoInputEventArgs)Gets whether Buttons equals MouseButtons.Right.
Key (Inherited from Northwoods.Go.GoInputEventArgs)Gets or sets the key pressed as this input event.
KeyEventArgs (Inherited from Northwoods.Go.GoInputEventArgs)Gets or sets the KeyEventArgs associated with this input event.
Modifiers (Inherited from Northwoods.Go.GoInputEventArgs)Gets or sets the modifier keys used with this input event.
MouseEventArgs (Inherited from Northwoods.Go.GoInputEventArgs)Gets or sets the MouseEventArgs associated with this input event.
Shift (Inherited from Northwoods.Go.GoInputEventArgs)Gets whether Modifiers has Keys.Shift set.
ViewPoint (Inherited from Northwoods.Go.GoInputEventArgs)Gets or sets the point at which this input event occurred.
Remarks
This event is raised for the first document object found at the GoInputEventArgs.DocPoint, excluding objects that are part of the Selection. Unlike the GoObject.GoObject.OnSelectionDropReject method, which proceeds up the Parent chain until a call returns true, this event occurs only once per mouse move. Thus you will often need to look at the GoObject.ParentNode or GoObject.TopLevelObject in order to find the most meaningful object to really handle the event.
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