Show / Hide Table of Contents

Class ImageListView.ImageListViewSelectedItemCollection

Represents the collection of selected items in the image list view.

Inheritance
System.Object
ImageListView.ImageListViewSelectedItemCollection
Implements
System.Collections.Generic.IList<ImageListViewItem>
System.Collections.Generic.ICollection<ImageListViewItem>
System.Collections.Generic.IEnumerable<ImageListViewItem>
System.Collections.IEnumerable
Namespace: Manina.Windows.Forms
Assembly: ImageListView.dll
Syntax
public class ImageListViewSelectedItemCollection : IList<ImageListViewItem>, ICollection<ImageListViewItem>, IEnumerable<ImageListViewItem>, IEnumerable

Properties

| Improve this Doc View Source

Count

Gets the number of elements contained in the ImageListView.ImageListViewSelectedItemCollection.

Declaration
[Browsable(true)]
public int Count { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ImageListView

Gets the ImageListView owning this collection.

Declaration
[Browsable(false)]
public ImageListView ImageListView { get; }
Property Value
Type Description
ImageListView
| Improve this Doc View Source

IsReadOnly

Gets a value indicating whether the ImageListView.ImageListViewSelectedItemCollection is read-only.

Declaration
[Browsable(false)]
public bool IsReadOnly { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

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 Source

Contains(ImageListViewItem)

Determines whether the ImageListView.ImageListViewSelectedItemCollection contains a specific value.

Declaration
public bool Contains(ImageListViewItem item)
Parameters
Type Name Description
ImageListViewItem item

The ImageListViewItem to locate in the ImageListView.ImageListViewSelectedItemCollection.

Returns
Type Description
System.Boolean

true if item is found in the ImageListView.ImageListViewSelectedItemCollection; otherwise, false.

| Improve this Doc View Source

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 Source

ICollection<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>.

| Improve this Doc View Source

ICollection<ImageListViewItem>.Clear()

Removes all items from the System.Collections.Generic.ICollection<T>.

Declaration
void ICollection<ImageListViewItem>.Clear()
| Improve this Doc View Source

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 array at which copying begins.

| Improve this Doc View Source

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 item was successfully removed from the System.Collections.Generic.ICollection<T>; otherwise, false. This method also returns false if item is not found in the original System.Collections.Generic.ICollection<T>.

| Improve this Doc View Source

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 item if found in the list; otherwise, -1.

| Improve this Doc View Source

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 item should be inserted.

ImageListViewItem item

The object to insert into the System.Collections.Generic.IList<T>.

| Improve this Doc View Source

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
| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Back to top Copyright © 2018 Özgür Özçıtak