ListItems Collection

The ListItems collection contains the items to be displayed in the ListView control.

Client support

   Newlook Smartclient only.

Use

You can add and remove ListItem objects to or from the collection using the ListItems property of the ListView Control at design time or dynamically via the Add, Clear and Remove methods.

The ListItems collection uses the Count property to return the number of items in the collection.

Referencing individual members of the collection

You can reference an individual item within any Newlook collection by using its Index. All indexes in Newlook are zero-based therefore if you wanted to return the third item in the collection you would use the following syntax:

object.collection(2)

See Also

Objects and Controls | ListItem object | ListView control

Applies To

ListView Control


© 2004-2021 looksoftware. All rights reserved.