Gets or sets a value indicating whether user interactions are allowed for this item.
Namespace: MindFusion.Common.UI
File: ListItem.js
SyntaxJavaScript
Copy Code
|
|---|
get enabled() {} |
Boolean. true if user interactions are allowed, otherwise false.
ExampleThe following example creates a new ListItem, enables it and adds it to the items collection of a ListView control.
JavaScript
Copy Code
|
|---|
listView = new ui.ListView(document.getElementById("listView")); var item = new ui.ListItem(); listView.items.add(item); |
See Also