ASP.NET Pack Programmer's Guide
Control Class
Remarks See Also
 





A base class for UI controls.

Namespace: MindFusion.Mapping
Package: Control.js

 Syntax

JavaScript  Copy Code

// class
Control.prototype = {}

 Remarks

Control is the base class for UI controls. Though you will not create Control instances directly, most of its members are accessible though classes that derive from Control.

 Example

The following example creates a new MapView using a <DIV> element called "mapview" that we've declared in the HTML code of the page. The MapView derives from Control

JavaScript  Copy Code
// create a new instance of the mapView
 var view = new m.MapView(document.getElementById("mapView"));
 view.theme = "light";

 Inheritance Hierarchy

MindFusion.Mapping.Control
    MindFusion.Mapping.MapView

 See Also

Control Members
MindFusion.Mapping Namespace