Search
ListItem.bounds Property
See Also
 






Gets the bounds of this ListItem.

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

 Syntax

JavaScript  Copy Code

get bounds() {}

 Property Value

A Rect instance that specifies the bounds.

 Example

The following code checks the width of the first ListItem in a ListView:

JavaScript  Copy Code
// check the width of the first list item
var firstItem = listView.items.items()[0];
if (firstItem.bounds.width > 100)
{
    //do something
}

 See Also