Search
ListItem.visible Property
See Also
 






Gets or sets the visibility of this ListItem.

Namespace: MindFusion.Common.UI
File: ListItem.js

 Syntax

JavaScript  Copy Code

get visible() {}

 Property Value

Boolean. true if the item is visible, otherwise false.

 Example

The following example creates a new ListItem, makes it invisible and adds it to the items collection of a ListView control.

JavaScript  Copy Code

listView = new ui.ListView(document.getElementById("listView"));
listView.width = listView.height = ui.Unit.percentage(100);

var item = new ui.ListItem();
item.title = "Armillaria Ponderosa";
item.visible = false;

listView.items.add(item);

 See Also