ListView.CheckedIndexCollection
Wisej.Web.ListView CheckedIndexCollection
Last updated
Was this helpful?
Wisej.Web.ListView CheckedIndexCollection
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.0.0.0)
Represents the collection containing the indexes to the checked items in a list view control.
Int32: Returns the number of items in the collection.
Boolean: Returns whether the collection is read-only.
Int32: Returns the index value at the specified index within the collection.
Throws:
ArgumentOutOfRangeException The index parameter is less than 0 or greater than or equal to the value of the Count property of CheckedIndexCollection.
Adds the item at the specified index in the Items collection to the CheckedIndexCollection.
index
Returns: Int32. The new count of selected items.
Throws:
ArgumentOutOfRangeException The specified index is less than 0 or greater than or equal to the number of items in the owner ListView. Or The owner ListView is in virtual mode, and the specified index is less than 0 or greater than or equal to the value of VirtualListSize.
Clears the selection.
Determines whether the specified index is located in the collection.
checkedIndex
The index of the checked item to locate in the collection.
Returns: Boolean. true if the specified index from the ListViewItemCollection for the ListView is an item in the collection; otherwise, false.
Copies the list of checked indexes into the specified array starting at the specified index .
array
Array that will received the list of selected indexes.
index
Starting index in array .
Returns an enumerator that can be used to iterate through the checked index collection.
Returns: IEnumerator<Int32>. An IEnumerator that represents the checked index collection.
Returns the index within the CheckedIndexCollection of the specified index from the ListViewItemCollection of the list view control.
checkedIndex
Returns: Int32. The zero-based index in the collection where the specified index of the ListViewItemCollection is located within the CheckedIndexCollection; otherwise, -1 if the index is not located in the collection.
Removes the item at the specified index in the Items collection from the CheckedIndexCollection.
index
Throws:
ArgumentOutOfRangeException The specified index is less than 0 or greater than or equal to the number of items in the owner ListView. Or The owner ListView is in virtual mode, and the specified index is less than 0 or greater than or equal to the value of VirtualListSize.
The index of the item in the collection to add to the .
The zero-based index from the to locate in the collection.
The index of the item in the collection to remove from the .