Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoView Class : DoObjectEnterLeave Method |
By default this raises the ObjectEnterLeave event by calling RaiseObjectEnterLeave. It calls GoObject.GoObject.OnEnterLeave for the from object (if not null) and the to object (if not null) and proceeds up the Parent chain for both objects. This allows groups such as nodes the ability to easily detect when the mouse enters or leaves the node, and to detect when the mouse moves over different child objects of a node. If both from and to are part of the same group, this method does not call GoObject.OnEnterLeave twice on the common parent group. A true value from a call to GoObject.OnEnterLeave will stop that chain of calls up the Parent tree.
This is normally called from the GoToolManager.DoMouseMove method, and from the GoToolDragging.GoToolDragging.DoMouseMove method. Therefore this ObjectEnterLeave event is not raised during a resize or a linking or a rubber-band selection operation. However, you may extend existing tools or define new tools to call this method under the circumstances and with the objects that your policy would indicate.
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