The ListItems collection contains the items to be displayed in the ListView control.
Newlook Smartclient only.
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.
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)
Newlook Smartclient |
Newlook Server |
Deprecated
|
Obsolete
Property |
Client |
Description |
|
Returns the number of objects in a collection. |
Newlook Smartclient |
Newlook Server |
Deprecated
|
Obsolete
Property |
Client |
Description |
|
Adds a new ListItem object to the ListView control's ListItems collection. |
|
|
Removes all ListItems for the specified ListView control. |
|
|
Removes the specified ListItem from the ListView control's ListItems collection. |
Objects and Controls | ListItem object | ListView control
© 2004-2021 looksoftware. All rights reserved.