MindFusion.Charting for JavaScript Programmer's Guide
Control.enabled Property
See Also
 






Gets or sets a value indicating whether user interactions are allowed for this control.

Namespace: MindFusion.Common
File: Control.js

 Syntax

JavaScript  Copy Code

get enabled() {}

 Property Value

Type: Boolean
Boolean. True if user interactions are allowed, otherwise false.

 Example

The following code creates a new TabPage and disables it:

JavaScript  Copy Code
var tab = new ui.TabPage("«");
tab.header.size = new ui.Unit(20);
tab.header.interactive = false;
tab.header.tooltip = "Previous Tab";
tab.data = -1;
tab.enabled = false;
tab.header.cssClass = "tab-back";
tabControl.tabs.add(tab);

 See Also

Control Members
Control Class
MindFusion.Common Namespace