NevronOpenVision
Nevron.Nov.Dom Namespace / NSchema Class / AddEventHandler Method / AddEventHandler(NEvent,INEventHandler,Boolean) Method
DOM event
event handler to add
whether to add a normal or sinking handler
AddEventHandler(NEvent,INEventHandler,Boolean) Method
Adds an event handler, which belongs to the default event handlers group, which is triggered during the AtTarget/Bubbling phase or the Capturing phase if sinking is true.
Syntax
public void AddEventHandler( 
   NEvent domEvent,
   INEventHandler eventHandler,
   System.bool sinking
)

Parameters

domEvent
DOM event
eventHandler
event handler to add
sinking
whether to add a normal or sinking handler
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

See Also