Search
EventDispatcher Class
Remarks See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML
C#
Visual Basic
Java
JavaScript
C++
XAML
Introduction
General Information
What's New In This Release
Version History
Getting Started
Code Completion With VSDoc IntelliSense
Programming Interface Overview
Tutorials
Reference
MindFusion.Common
Control Class
DateFormats Class
DateSettings Class
EventDispatcher Class
EventDispatcher Members
EventDispatcher Methods
IdGenerator Class
Locale Class
NotifyCollectionChangedAction Class
NotifyCollectionChangedEventArgs Class
NotifyCollectionChangingEventArgs Class
PropertyEventArgs Class
UIControl Class
Unit Class
UnitType Enumeration
MindFusion.Common.Collections
MindFusion.Controls
MindFusion.Scheduling
Licensing
Online Resources
Technical Support
MindFusion Products

Represents a dispatcher for an event.

Namespace: MindFusion.Common
Assembly: EventDispatcher.js

## Syntax

JavaScript Copy Code
// class EventDispatcher.prototype = {}

## Remarks

This is the base class for all events raised by UI controls.

## Example

The following code handles the controlUnload method of the Window control.

JavaScript Copy Code
// Handle the controlUnload event. window1.controlUnload.addEventListener(handleWindowUnload); // This is the handler function of the wndow1.controlUnload event. // The sender argument is a reference to the Window. function handleWindowUnload(sender) { // Hide the window header. sender.dispose(); }

## Inheritance Hierarchy

MindFusion.Common.EventDispatcher

## See Also

EventDispatcher Members
MindFusion.Common Namespace