Dispatches an Event at the specified EventTarget, (synchronously) invoking the affected EventListeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually with dispatchEvent().
public bool DispatchEvent( Event event )
Public Function DispatchEvent ( event As Event ) As Boolean
public: virtual bool DispatchEvent( Event^ event ) sealed
abstract DispatchEvent : event : Event -> bool override DispatchEvent : event : Event -> bool
The return value of indicates whether any of the listeners which handled the event called. If was called the value is false, else the value is true.
Events dispatched in this manner will have the same capturing and bubbling behavior as events dispatched directly by the implementation. The target of the event is the on which is called.