ColumnHeaderCollection Class
Represents a collection of ListView ColumnHeader objects.
Namespace: elsystem.windows.forms
Properties
Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).
Name | Type | Description | |
Count | int | Gets the number of items in the collection. | |
IsReadOnly | bool | Gets a Boolean value indicating whether the collection is read-only. | |
Item[Indx] |
object |
Gets the ColumHeader at the specified index in the collection. | |
Item[key] | object | Gets the ColumnHeader with the specified string key (name). |
Methods
Name | Description | |
Add(ColumnHeader) | Adds the specified ColumnHeader object to the collection. | |
Add(name) | Adds a ColumnHeader object with the specified name. | |
Clear | Removes all items from the collection. | |
Contains(ColumnHeader) | Returns true if the specified ColumnHeader exists within the collection. | |
ContainsKey(key) | Returns true if the specified column key (name) exists within the collection. | |
IndexOfKey(key) | Returns the integer index of the ColumnHeader with the specified key (name). | |
Insert(index, text) | Creates a new ColumnHeader with the specified text and inserts the ColumnHeader into the collection at the specified index location. | |
Insert(index, column) | Inserts an existing ColumnHeader into the collection at the specified index location. | |
Remove(column) | Removes the specified ColumnHeader from the collection. | |
RemoveAt(index) | Removes the ColumnHeader at the specified index location from the collection. | |
RemoveByKey(key) | Removes the ColumnHeader with the specified key (name) from the collection. |