MindFusion.Charting for JavaScript Programmer's Guide
Control.enabled Property
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

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("&#xab;"); 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