TableLayoutControlCollection Class
Represents a collection of child controls in a table layout container.
System.Windows.Forms.Layout::ArrangedElementCollection
System.Windows.Forms::Control::ControlCollection
System.Windows.Forms::TableLayoutControlCollection
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The TableLayoutControlCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | TableLayoutControlCollection | Initializes a new instance of the TableLayoutControlCollection class. |
| Name | Description | |
|---|---|---|
![]() | Container | Gets the parent TableLayoutPanel that contains the controls in the collection. |
![]() | Count | Gets the number of elements in the collection. (Inherited from ArrangedElementCollection.) |
![]() | IsReadOnly | Gets a value indicating whether the collection is read-only. (Inherited from ArrangedElementCollection.) |
![]() | Item[Int32] | Indicates the Control at the specified indexed location in the collection. (Inherited from Control::ControlCollection.) |
![]() | Item[String] | Indicates a Control with the specified key in the collection. (Inherited from Control::ControlCollection.) |
![]() | Owner | Gets the control that owns this Control::ControlCollection. (Inherited from Control::ControlCollection.) |
| Name | Description | |
|---|---|---|
![]() | Add(Control) | Adds the specified control to the control collection. (Inherited from Control::ControlCollection.) |
![]() | Add(Control, Int32, Int32) | Adds the specified control to the collection and positions it at the specified cell. |
![]() | AddRange | Adds an array of control objects to the collection. (Inherited from Control::ControlCollection.) |
![]() | Clear | Removes all controls from the collection. (Inherited from Control::ControlCollection.) |
![]() | 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 | 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.) |
![]() | 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.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove | Removes the specified control from the control collection. (Inherited from Control::ControlCollection.) |
![]() | 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.) |
![]() ![]() | ICollection::IsSynchronized | For a description of this member, see the ICollection::IsSynchronized property. (Inherited from ArrangedElementCollection.) |
![]() ![]() | ICollection::SyncRoot | For a description of this member, see the ICollection::SyncRoot property. (Inherited from ArrangedElementCollection.) |
![]() ![]() | 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::IsFixedSize | For a description of this member, see the IList::IsFixedSize property. (Inherited from ArrangedElementCollection.) |
![]() ![]() | IList::Item | For a description of this member, see the IList::Item property. (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.) |
The TableLayoutControlCollection class represents the collection of all the child controls in a TableLayoutPanel control. This collection is exposed by the Controls property of the TableLayoutPanel class. You can manage and individually manipulate members of the table layout panel through the TableLayoutControlCollection exposed by Controls.
The TableLayoutControlCollection class is a minor specialization of the Control::ControlCollection base class.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

