ListView.ListViewItemCollection
Wisej.Web.ListView ListViewItemCollection
Last updated
Was this helpful?
Wisej.Web.ListView ListViewItemCollection
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represents the collection of items in a control.
: Returns the total number of items in the collection.
: Returns a value indicating whether the collection is read-only.
: Returns or sets the item at the specified index in the collection.
Throws:
The index value is less than 0 or is greater than the number of items in the collection.
Adds a new item with the specified label text to the end of the current collection.
text
Creates a new item with the specified key and text, and adds it to the collection.
key
text
Creates a new item with the specified key, text, and image, and adds it to the collection.
key
text
imageIndex
Creates a new item with the specified key, text, and image, and adds it to the collection.
key
The name of the item.
text
imageKey
Adds a previously created item to the end of the collection.
item
Throws:
Adds an array of previously created items to the collection.
items
Throws:
Removes all items from the collection.
Removes all items from the collection and optionally disposes them.
dispose
Indicates whether the removed items should be disposed.
Determines whether the specified item is a member of the collection.
item
Determines whether the collection contains an item with the specified key.
key
Copies the entire collection into an existing array at a specified location within the array.
dest
The destination array.
index
The index in the destination array at which storing begins.
Returns an enumerator that can be used to iterate through the collection.
Returns the index of the specified item in the collection.
item
Returns the index of the first occurrence of a item with the specified key.
key
Inserts an existing item into the collection at the specified location.
index
The indexed location within the collection to insert the item.
item
Throws:
Creates a new item with the specified text and inserts it at the specified index.
index
text
Creates a new item with the specified text and key, and inserts it into the collection.
index
key
text
Creates a new item with the specified key, text, and image, and inserts it into the collection at the specified index.
index
key
text
imageIndex
Creates a new item with the specified key, text, and image, and inserts it into the collection at the specified index.
index
key
text
imageKey
Removes the specified item from the collection.
item
Removes the item from the collection at a specified index.
index
Removes the item with the specified key from the collection.
key
: Returns the item with the specified key from the collection.
The label text displayed by the .
Returns: . A that represents the item being added to the collection.
The name of the .
The text to display in the .
Returns: . The that was added to the collection.
The name of the .
The text to display in the .
The index of the image to display in the .
Returns: . The that was added to the collection.
The text to display in the .
The image to display in the .
Returns: . The that was added to the collection.
The to add to the collection.
Returns: . The zero-based index value of the added to the collection.
The item is currently assigned to another .
An array of objects representing the items to add to the collection.
items is null.
items is the child of another .
The to locate in the collection.
Returns: . true if the is a member of the collection; otherwise, false.
The name of the to search for.
Returns: . true to indicate the collection contains a with the specified key; otherwise, false.
Returns: . An that represents the .
The to locate in the collection.
Returns: . The zero-based index of the item found in the ; otherwise, -1.
The name of the to search for.
Returns: . The zero-based index of the first occurrence of a with the specified key, if found; otherwise, -1.
The to insert into the collection.
The item is currently assigned to another .
The location within the collection to insert the .
The text to display in the .
Returns: . The that was inserted in the collection.
The location within the collection to insert the .
The name of the .
The text to display in the.
Returns: . The that was inserted in the collection.
The location within the collection to insert the .
The name of the .
The text to display in the .
The index of the image to display in the .
Returns: . The that was inserted in the collection.
The location within the collection to insert the .
The name of the .
The text to display in the .
The key of the image to display in the .
Returns: . The that was inserted in the collection.
The to remove.
The index of the to remove.
The name of the to remove from the collection.
Fired when the collection changes.