Click or drag to resize

EventAddition Operator

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.27.5
Syntax
C#
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: Event
The updated Event instance.
Exceptions
ExceptionCondition
ObjectDisposedExceptionThe IEventTarget has already been disposed.
See Also