Show / Hide Table of Contents

Class ImageListView.ImageListViewColumnHeaderCollection

Represents the collection of columns in an ImageListView control.

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

Properties

| Improve this Doc View Source

Count

Gets the number of columns in the collection.

Declaration
[Browsable(false)]
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 Collection is read-only.

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

Item[ColumnType]

Gets the column with the specified type within the collection.

Declaration
[Browsable(false)]
public ImageListView.ImageListViewColumnHeader this[ColumnType type] { get; }
Parameters
Type Name Description
ColumnType type
Property Value
Type Description
ImageListView.ImageListViewColumnHeader
| Improve this Doc View Source

Item[Int32]

Gets the column at the specified index within the collection.

Declaration
[Browsable(false)]
public ImageListView.ImageListViewColumnHeader this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
ImageListView.ImageListViewColumnHeader

Methods

| Improve this Doc View Source

Add(ColumnType)

Adds an item to the System.Collections.Generic.ICollection<T>.

Declaration
public void Add(ColumnType type)
Parameters
Type Name Description
ColumnType type

The type of data to display in this column.

| Improve this Doc View Source

Add(ColumnType, Int32)

Adds an item to the System.Collections.Generic.ICollection<T>.

Declaration
public void Add(ColumnType type, int width)
Parameters
Type Name Description
ColumnType type

The type of data to display in this column.

System.Int32 width

Width in pixels of the column header.

| Improve this Doc View Source

Add(ColumnType, String)

Adds an item to the System.Collections.Generic.ICollection<T>.

Declaration
public void Add(ColumnType type, string text)
Parameters
Type Name Description
ColumnType type

The type of data to display in this column.

System.String text

Text of the column header.

| Improve this Doc View Source

Add(ColumnType, String, Int32)

Adds an item to the System.Collections.Generic.ICollection<T>.

Declaration
public void Add(ColumnType type, string text, int width)
Parameters
Type Name Description
ColumnType type

The type of data to display in this column.

System.String text

Text of the column header.

System.Int32 width

Width in pixels of the column header.

| Improve this Doc View Source

Add(ImageListView.ImageListViewColumnHeader)

Adds an item to the System.Collections.Generic.ICollection<T>.

Declaration
public void Add(ImageListView.ImageListViewColumnHeader item)
Parameters
Type Name Description
ImageListView.ImageListViewColumnHeader item

The object to add to the System.Collections.Generic.ICollection<T>.

| Improve this Doc View Source

Add(String, String)

Adds an item to the System.Collections.Generic.ICollection<T>.

Declaration
public void Add(string key, string text)
Parameters
Type Name Description
System.String key

The key to associate this column with sub items.

System.String text

Text of the column header.

| Improve this Doc View Source

Add(String, String, Int32)

Adds an item to the System.Collections.Generic.ICollection<T>.

Declaration
public void Add(string key, string text, int width)
Parameters
Type Name Description
System.String key

The key to associate this column with sub items.

System.String text

Text of the column header.

System.Int32 width

Width in pixels of the column header.

| Improve this Doc View Source

AddRange(ImageListView.ImageListViewColumnHeader[])

Adds a range of items to the System.Collections.Generic.ICollection<T>.

Declaration
public void AddRange(ImageListView.ImageListViewColumnHeader[] items)
Parameters
Type Name Description
ImageListView.ImageListViewColumnHeader[] items

The items to add to the collection.

| Improve this Doc View Source

Clear()

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

Declaration
public void Clear()
| Improve this Doc View Source

Contains(ImageListView.ImageListViewColumnHeader)

Determines whether the System.Collections.Generic.ICollection<T> contains a specific value.

Declaration
public bool Contains(ImageListView.ImageListViewColumnHeader item)
Parameters
Type Name Description
ImageListView.ImageListViewColumnHeader item

The object to locate in the System.Collections.Generic.ICollection<T>.

Returns
Type Description
System.Boolean

true if item is found in the System.Collections.Generic.ICollection<T>; otherwise, false.

| Improve this Doc View Source

GetDisplayedColumns()

Gets the columns as diplayed on the UI.

Declaration
public List<ImageListView.ImageListViewColumnHeader> GetDisplayedColumns()
Returns
Type Description
System.Collections.Generic.List<ImageListView.ImageListViewColumnHeader>

The list of of visible columns.

| Improve this Doc View Source

GetEnumerator()

Returns an enumerator to use to iterate through columns.

Declaration
public IEnumerator<ImageListView.ImageListViewColumnHeader> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<ImageListView.ImageListViewColumnHeader>

An System.Collections.Generic.IEnumerator<T> that represents the item collection.

| Improve this Doc View Source

IndexOf(ImageListView.ImageListViewColumnHeader)

Determines the index of a specific item in the System.Collections.Generic.IList<T>.

Declaration
public int IndexOf(ImageListView.ImageListViewColumnHeader item)
Parameters
Type Name Description
ImageListView.ImageListViewColumnHeader 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

Insert(Int32, ImageListView.ImageListViewColumnHeader)

Inserts an item to the System.Collections.Generic.IList<T> at the specified index.

Declaration
public void Insert(int index, ImageListView.ImageListViewColumnHeader item)
Parameters
Type Name Description
System.Int32 index

The zero-based index at which item should be inserted.

ImageListView.ImageListViewColumnHeader item

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

| Improve this Doc View Source

Remove(ImageListView.ImageListViewColumnHeader)

Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection<T>.

Declaration
public bool Remove(ImageListView.ImageListViewColumnHeader item)
Parameters
Type Name Description
ImageListView.ImageListViewColumnHeader 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

RemoveAt(Int32)

Removes the System.Collections.Generic.IList<T> item at the specified index.

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
System.Int32 index

The zero-based index of the item to remove.

Explicit Interface Implementations

| Improve this Doc View Source

ICollection<ImageListView.ImageListViewColumnHeader>.CopyTo(ImageListView.ImageListViewColumnHeader[], 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<ImageListView.ImageListViewColumnHeader>.CopyTo(ImageListView.ImageListViewColumnHeader[] array, int arrayIndex)
Parameters
Type Name Description
ImageListView.ImageListViewColumnHeader[] 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.CopyTo(Array, Int32)

Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index.

Declaration
void ICollection.CopyTo(Array array, int index)
Parameters
Type Name Description
System.Array array

The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing.

System.Int32 index

The zero-based index in array at which copying begins.

| Improve this Doc View Source

ICollection.IsSynchronized

Gets a value indicating whether access to the System.Collections.ICollection is synchronized (thread safe).

Declaration
bool ICollection.IsSynchronized { get; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

ICollection.SyncRoot

Gets an object that can be used to synchronize access to the System.Collections.ICollection.

Declaration
object ICollection.SyncRoot { get; }
Returns
Type Description
System.Object
| 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
| Improve this Doc View Source

IList.Add(Object)

Adds an item to the System.Collections.IList.

Declaration
int IList.Add(object value)
Parameters
Type Name Description
System.Object value
Returns
Type Description
System.Int32
| Improve this Doc View Source

IList.Contains(Object)

Determines whether the System.Collections.IList contains a specific value.

Declaration
bool IList.Contains(object value)
Parameters
Type Name Description
System.Object value
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IList.IndexOf(Object)

Determines the index of a specific item in the System.Collections.IList.

Declaration
int IList.IndexOf(object value)
Parameters
Type Name Description
System.Object value
Returns
Type Description
System.Int32
| Improve this Doc View Source

IList.Insert(Int32, Object)

Inserts an item to the System.Collections.IList at the specified index.

Declaration
void IList.Insert(int index, object value)
Parameters
Type Name Description
System.Int32 index
System.Object value
| Improve this Doc View Source

IList.IsFixedSize

Gets a value indicating whether the System.Collections.IList has a fixed size.

Declaration
bool IList.IsFixedSize { get; }
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IList.Item[Int32]

Gets or sets the System.Object at the specified index.

Declaration
object IList.this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Object
| Improve this Doc View Source

IList.Remove(Object)

Removes the first occurrence of a specific object from the System.Collections.IList.

Declaration
void IList.Remove(object value)
Parameters
Type Name Description
System.Object value

Implements

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