DataGridViewColumnCollection Properties
.NET Framework 4.5
The DataGridViewColumnCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Count | Gets the total number of elements in the collection. (Inherited from BaseCollection.) |
|
DataGridView | Gets the DataGridView upon which the collection performs column-related operations. |
|
IsReadOnly | Gets a value indicating whether the collection is read-only. (Inherited from BaseCollection.) |
|
IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized. (Inherited from BaseCollection.) |
|
Item[Int32] | Gets or sets the column at the given index in the collection. |
|
Item[String] | Gets or sets the column of the given name in the collection. |
|
List | Gets the list of elements contained in the BaseCollection instance. (Overrides BaseCollection.List.) |
|
SyncRoot | Gets an object that can be used to synchronize access to the BaseCollection. (Inherited from BaseCollection.) |
| Name | Description | |
|---|---|---|
|
ICollection.Count | Infrastructure. Gets the number of elements in the collection. |
|
ICollection.IsSynchronized | Infrastructure. Gets a value indicating whether access to the collection is synchronized. |
|
ICollection.SyncRoot | Infrastructure. Gets an object that can be used to synchronize access to the collection. |
|
IList.IsFixedSize | Infrastructure. Gets a value indicating whether the collection has a fixed size. |
|
IList.IsReadOnly | Infrastructure. Gets a value indicating whether the collection is read-only. |
|
IList.Item | Infrastructure. Gets or sets the element at the specified index. |