All pages
Powered by GitBook
1 of 1

Loading...

ListView.CheckedListViewItemCollection

Wisej.Web.ListView CheckedListViewItemCollection

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.5.0.0)

Represents the collection of checked items in a list view control.

public class CheckedListViewItemCollection : IList<ListViewItem>, ICollection<ListViewItem>, IEnumerable<ListViewItem>, IEnumerable
Public Class CheckedListViewItemCollection
    Inherits IList(Of ListViewItem)
    Implements ICollection(Of ListViewItem), IEnumerable(Of ListViewItem), IEnumerable

Constructors

CheckedListViewItemCollection(owner)

Initializes a new instance of the class.

Name
Type
Description

Properties

Count

: Returns the number of items in the collection.

IsReadOnly

: Returns whether the collection is read-only.

Item(index)

: Returns the item value at the specified index within the collection.

Throws:

  • The index parameter is less than 0 or greater than or equal to the value of the property of .

Item(key)

: Returns the item with the specified key within the collection.

Methods

Contains(item)

Determines whether the specified item is located in the collection.

Parameter
Type
Description

Returns: . true if the specified index from the for the is an item in the collection; otherwise, false.

ContainsKey(key)

Determines if an item with the specified key is contained in the collection.

Parameter
Type
Description

Returns: . true if an item with the specified key is contained in the collection; otherwise, false.

GetEnumerator()

Returns an enumerator that can be used to iterate through the checked index collection.

Returns: . An that represents the checked index collection.

IndexOf(item)

Returns the index within the of the specified item.

Parameter
Type
Description

Returns: . The zero-based index in the collection; otherwise, -1 if the item is not located in the collection.

IndexOfKey(key)

Determines the index of an item with the specified key.

Parameter
Type
Description

Returns: . The zero-based index for the with the specified name, if found; otherwise, -1.

owner

ListView

A ListView control that owns the collection.

item

ListViewItem

The ListViewItem to locate in the collection.

key

String

The name of the item to search for.

item

ListViewItem

The ListViewItem to locate in the collection.

key

String

The name of the item to retrieve the index for.

CheckedListViewItemCollection
Int32
Boolean
ListViewItem
ArgumentOutOfRangeException
Count
SelectedListViewItemCollection
ListViewItem
Boolean
ListViewItemCollection
ListView
Boolean
IEnumerator<ListViewItem>
IEnumerator
CheckedListViewItemCollection
Int32
Int32
ListViewItem