Class ImageListView.ImageListViewCheckedItemCollection
Represents the collection of checked items in the image list view.
Inheritance
Implements
Namespace: Manina.Windows.Forms
Assembly: ImageListView.dll
Syntax
public class ImageListViewCheckedItemCollection : IList<ImageListViewItem>, ICollection<ImageListViewItem>, IEnumerable<ImageListViewItem>, IEnumerable
Properties
| Improve this Doc View SourceCount
Gets the number of elements contained in the ImageListView.ImageListViewCheckedItemCollection.
Declaration
[Browsable(true)]
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ImageListView
Gets the ImageListView owning this collection.
Declaration
[Browsable(false)]
public ImageListView ImageListView { get; }
Property Value
Type | Description |
---|---|
ImageListView |
IsReadOnly
Gets a value indicating whether the ImageListView.ImageListViewCheckedItemCollection is read-only.
Declaration
[Browsable(false)]
public bool IsReadOnly { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Item[Int32]
Gets or sets the ImageListViewItem at the specified index.
Declaration
[Browsable(false)]
public ImageListViewItem this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
ImageListViewItem |
Methods
| Improve this Doc View SourceContains(ImageListViewItem)
Determines whether the ImageListView.ImageListViewCheckedItemCollection contains a specific value.
Declaration
public bool Contains(ImageListViewItem item)
Parameters
Type | Name | Description |
---|---|---|
ImageListViewItem | item | The ImageListViewItem to locate in the ImageListView.ImageListViewCheckedItemCollection. |
Returns
Type | Description |
---|---|
System.Boolean | true if |
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<ImageListViewItem> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ImageListViewItem> | A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Explicit Interface Implementations
| Improve this Doc View SourceICollection<ImageListViewItem>.Add(ImageListViewItem)
Adds an item to the System.Collections.Generic.ICollection<T>.
Declaration
void ICollection<ImageListViewItem>.Add(ImageListViewItem item)
Parameters
Type | Name | Description |
---|---|---|
ImageListViewItem | item | The object to add to the System.Collections.Generic.ICollection<T>. |
Exceptions
Type | Condition |
---|---|
System.NotSupportedException | The System.Collections.Generic.ICollection<T> is read-only. |
ICollection<ImageListViewItem>.Clear()
Removes all items from the System.Collections.Generic.ICollection<T>.
Declaration
void ICollection<ImageListViewItem>.Clear()
ICollection<ImageListViewItem>.CopyTo(ImageListViewItem[], Int32)
Copies the elements of the System.Collections.Generic.ICollection<T> to an System.Array, starting at a particular System.Array index.
Declaration
void ICollection<ImageListViewItem>.CopyTo(ImageListViewItem[] array, int arrayIndex)
Parameters
Type | Name | Description |
---|---|---|
ImageListViewItem[] | array | The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.ICollection<T>. The System.Array must have zero-based indexing. |
System.Int32 | arrayIndex | The zero-based index in |
ICollection<ImageListViewItem>.Remove(ImageListViewItem)
Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection<T>.
Declaration
bool ICollection<ImageListViewItem>.Remove(ImageListViewItem item)
Parameters
Type | Name | Description |
---|---|---|
ImageListViewItem | item | The object to remove from the System.Collections.Generic.ICollection<T>. |
Returns
Type | Description |
---|---|
System.Boolean | true if |
IList<ImageListViewItem>.IndexOf(ImageListViewItem)
Determines the index of a specific item in the System.Collections.Generic.IList<T>.
Declaration
[Obsolete("Use ImageListViewItem.Index property instead.")]
int IList<ImageListViewItem>.IndexOf(ImageListViewItem item)
Parameters
Type | Name | Description |
---|---|---|
ImageListViewItem | item | The object to locate in the System.Collections.Generic.IList<T>. |
Returns
Type | Description |
---|---|
System.Int32 | The index of |
IList<ImageListViewItem>.Insert(Int32, ImageListViewItem)
Inserts an item to the System.Collections.Generic.IList<T> at the specified index.
Declaration
void IList<ImageListViewItem>.Insert(int index, ImageListViewItem item)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index at which |
ImageListViewItem | item | The object to insert into the System.Collections.Generic.IList<T>. |
IList<ImageListViewItem>.Item[Int32]
Gets or sets the item at the specified index.
Declaration
ImageListViewItem IList<ImageListViewItem>.this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Returns
Type | Description |
---|---|
ImageListViewItem |
IList<ImageListViewItem>.RemoveAt(Int32)
Removes the System.Collections.Generic.IList<T> item at the specified index.
Declaration
void IList<ImageListViewItem>.RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The zero-based index of the item to remove. |
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | An System.Collections.IEnumerator object that can be used to iterate through the collection. |