DataGridView.DataGridViewControlCollection Methods
.NET Framework 4.5
The DataGridView.DataGridViewControlCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add | Adds the specified control to the control collection. (Inherited from Control.ControlCollection.) |
|
AddRange | Adds an array of control objects to the collection. (Inherited from Control.ControlCollection.) |
|
Clear | Removes all controls from the DataGridView. (Overrides Control.ControlCollection.Clear().) |
|
Contains | Determines whether the specified control is a member of the collection. (Inherited from Control.ControlCollection.) |
|
ContainsKey | Determines whether the Control.ControlCollection contains an item with the specified key. (Inherited from Control.ControlCollection.) |
|
CopyTo(Array, Int32) | Copies the entire contents of this collection to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from ArrangedElementCollection.) |
|
CopyTo(Control[], Int32) | Copies the contents of the DataGridView.DataGridViewControlCollection into a Control array, starting at the specified index of the target array. |
|
Equals | Determines whether two ArrangedElementCollection instances are equal. (Inherited from ArrangedElementCollection.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
Find | Searches for controls by their Name property and builds an array of all the controls that match. (Inherited from Control.ControlCollection.) |
|
GetChildIndex(Control) | Retrieves the index of the specified child control within the control collection. (Inherited from Control.ControlCollection.) |
|
GetChildIndex(Control, Boolean) | Retrieves the index of the specified child control within the control collection, and optionally raises an exception if the specified control is not within the control collection. (Inherited from Control.ControlCollection.) |
|
GetEnumerator | Retrieves a reference to an enumerator object that is used to iterate over a Control.ControlCollection. (Inherited from Control.ControlCollection.) |
|
GetHashCode | Returns the hash code for this instance. (Inherited from ArrangedElementCollection.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
IndexOf | Retrieves the index of the specified control in the control collection. (Inherited from Control.ControlCollection.) |
|
IndexOfKey | Retrieves the index of the first occurrence of the specified item within the collection. (Inherited from Control.ControlCollection.) |
|
Insert | Inserts the specified Control into the DataGridView.DataGridViewControlCollection at the specified index. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Remove | Removes the specified control from the DataGridView.DataGridViewControlCollection. (Overrides Control.ControlCollection.Remove(Control).) |
|
RemoveAt | Removes a control from the control collection at the specified indexed location. (Inherited from Control.ControlCollection.) |
|
RemoveByKey | Removes the child control with the specified key. (Inherited from Control.ControlCollection.) |
|
SetChildIndex | Sets the index of the specified child control in the collection to the specified index value. (Inherited from Control.ControlCollection.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
ICloneable.Clone | Infrastructure. For a description of this member, see ICloneable.Clone. (Inherited from Control.ControlCollection.) |
|
IList.Add | Infrastructure. For a description of this member, see IList.Add. (Inherited from Control.ControlCollection.) |
|
IList.Clear | For a description of this member, see the IList.Clear method. (Inherited from ArrangedElementCollection.) |
|
IList.Contains | For a description of this member, see the IList.Contains method. (Inherited from ArrangedElementCollection.) |
|
IList.IndexOf | For a description of this member, see the IList.IndexOf method. (Inherited from ArrangedElementCollection.) |
|
IList.Insert | For a description of this member, see the IList.Insert method. (Inherited from ArrangedElementCollection.) |
|
IList.Remove | Infrastructure. For a description of this member, see IList.Remove. (Inherited from Control.ControlCollection.) |
|
IList.RemoveAt | For a description of this member, see the IList.RemoveAt method. (Inherited from ArrangedElementCollection.) |