Northwoods.Go Assembly > Northwoods.Go Namespace > GoView Class : ObjectEnterLeave Event |
'Declaration <CategoryAttribute("GoView")> <DescriptionAttribute("The mouse entered and/or left a document object during a mouse-over or a drag (a GoObjectEnterLeaveEventHandler)")> Public Event ObjectEnterLeave As GoObjectEnterLeaveEventHandler
[CategoryAttribute("GoView")] [DescriptionAttribute("The mouse entered and/or left a document object during a mouse-over or a drag (a GoObjectEnterLeaveEventHandler)")] public event GoObjectEnterLeaveEventHandler ObjectEnterLeave
The event handler receives an argument of type GoObjectEnterLeaveEventArgs containing data related to this event. The following GoObjectEnterLeaveEventArgs properties provide information specific to this event.
Property | Description |
---|---|
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. |
From | Gets the GoObject that the mouse had been over. |
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. |
To | Gets the GoObject that the mouse is now over. |
ViewPoint (Inherited from Northwoods.Go.GoInputEventArgs) | Gets or sets the point at which this input event occurred. |
This event is raised when the GoToolManager or the GoToolDragging tool notices that a mouse move causes a change in the current document object that the mouse is over. The GoObjectEnterLeaveEventArgs indicates the object that the mouse had been over, and the object that it is now over. Either object may be null, indicating that it had been or now is over the background of this view.
Because drag-and-drop is a modal operation, an external drag-and-drop from a different Control will not normally raise any ObjectEnterLeave
events. However, you may be able to get such events if you set ExternalDragDropsOnEnter to true and DragsRealtime to true, since then a drag enter may cause some GoObjects to be added to the document by OnDragEnter and DoExternalDrop and then to be dragged around by the GoToolDragging tool.
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