MindFusion.Charting for JavaScript Programmer's Guide
UIControl Class
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

Initializes a new instance of the Control class.

Namespace: MindFusion.Common
File: UIControl.js

## Syntax

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

## Example

The following code creates a ToolTip instance, which is a class that derives from UIControl. The tooltip is created using the DOM element of a diagram canvas.

JavaScript Copy Code
var tooltip = new ui.Tooltip(diagram._element); tooltip.trigger = ui.TooltipTrigger.None; tooltip.follow = false; tooltip.theme = "peach";

## Inheritance Hierarchy

MindFusion.Common.UIControl

## See Also

UIControl Members
MindFusion.Common Namespace