The overloaded operator that can be used for simplifying registering event handlers for the DOM event.
Namespace:
DotNetBrowser.Dom.Events
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax public static Event operator +(
Event evt,
EventHandler<DomEventArgs> handler
)
Parameters
- evt
- Type: DotNetBrowser.Dom.EventsEvent
The custom DOM event. - handler
- Type: SystemEventHandlerDomEventArgs
the event handler to register for this DOM event.
Return Value
Type:
EventThe updated
Event instance.
Exceptions Exception | Condition |
---|
ObjectDisposedException | The IEventTarget has already been disposed. |
See Also