CheckedListBox.CheckedIndexCollection
Wisej.Web.CheckedListBox CheckedIndexCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Represents the collection containing the indexes to the selected items in a CheckedListBox.
Properties
Count
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Int32: Returns the number of selected items.
IsReadOnly
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Boolean: Returns a value indicating whether this collection can be modified.
Item(index)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Int32: Returns the index of a checked item in the CheckedListBox control.
Throws:
ArgumentException The index is less than zero.-or- The index is not in the collection.
Methods
Contains(index)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Determines if the specified index is located within the collection.
Parameter | Type | Description |
---|---|---|
index | The index to locate in the collection. |
Returns: Boolean. true if the index is located within the collection; otherwise, false.
CopyTo(array, index)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Copies the entire collection into an existing array at a specified location within the array.
Parameter | Type | Description |
---|---|---|
array | The destination array. | |
index | The zero-based relative index in array at which copying begins. |
Throws:
ArgumentNullException array is null.
RankException array is multidimensional.
ArgumentOutOfRangeException index is less than zero.
ArgumentException The number of elements in the source Array is greater than the available space from index to the end of the destination Array.
ArrayTypeMismatchException The type of the source Array cannot be cast automatically to the type of the destination Array.
GetEnumerator()
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Returns an enumerator that can be used to iterate through the CheckedIndices collection.
Returns: IEnumerator. An IEnumerator for navigating through the list.
IndexOf(index)
![](https://docs.wisej.com/~gitbook/image?url=https%3A%2F%2F3858804530-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F1zeuyneJ2f5i3NKcg6us%252Fuploads%252Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%252Finstance.png%3Falt%3Dmedia&width=300&dpr=4&quality=100&sign=9d369cee&sv=1)
Returns an index into the collection of checked indexes.
Parameter | Type | Description |
---|---|---|
index | The index of the checked item. |
Returns: Int32. The index that specifies the index of the checked item or -1 if the index parameter is not in the checked indexes collection.
Last updated