MindFusion.Charting for JavaScript Programmer's Guide
Control Members
Constructors Properties Methods
Collapse All Expand All Members Options: Show All Members Options: Filtered

Include Inherited Members
Include Protected Members

A base class for MindFusion controls.

The following tables list the members exposed by the Control type.

## Public Constructors

| Name | Description
--- | --- | ---
| Control | Initializes a new instance of the Control class.

## Public Properties

| Name | Description
--- | --- | ---
| element | Returns a reference to the control's DOM element.
| enabled | Gets or sets whether mouse events are enabled.

## Public Methods

| Name | Description
--- | --- | ---
| addEventListener | Registers a single event listener on the instance. (Inherited from Disposable.)
| addHandlers | Adds an event listener to a DOM element.
| clearHandlers | Removes all event listeners from a DOM element.
| fromJson | Constructs a JavaScript object from a JSON string.
| raiseEvent | Raises an event. (Inherited from Disposable.)
| registerForSubmit | Registers an onsubmit handler for the Control's parent html form to flush postback data.
| removeEventListener | Removes a single event listener attached to the instance. (Inherited from Disposable.)
| toJson | Converts a JavaScript object to a JSON string.

## See Also

Control Class
MindFusion.Controls Namespace