System.Windows.Forms
2.0.0.0
System.Windows.Forms.Control+ControlCollection
System.ComponentModel.ListBindable(false)
System.ComponentModel.Design.Serialization.DesignerSerializer("System.Windows.Forms.Design.TableLayoutControlCollectionCodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
The class represents the collection of all the child controls in a control. This collection is exposed by the property of the class. You can manage and individually manipulate members of the table layout panel through the exposed by .
The class is a minor specialization of the base class.
Represents a collection of child controls in a table layout container.
Constructor
2.0.0.0
Generally, the application programmer will not directly create instances of the class. Instead, a reference to an existing is returned by the property.
Initializes a new instance of the class.
The control that contains the control collection.
Method
2.0.0.0
System.Void
With , you can specify the cell position of . You can assign to a specific cell by providing both the and parameters, or you can specify only the column or row value and let the place at the next open cell. This is known as letting the control flow to its position in the control.
Set to -1 if you want to occupy a fixed row position.
Set to -1 if you want to occupy a fixed column position.
If neither nor is -1, will be added at the absolute position given by (, ).
If you set both and to -1, will flow to the first open position, with the specific flow behavior defined by the value. This is equivalent to using the method.
To get to the actual current position of a control, use the method. This method takes into account the entire control state, including column or row spanning and when the has placed a control with its Column and Row properties set to -1.
Adds the specified control to the collection and positions it at the specified cell.
The control to add.
The column in which will be placed.
The row in which will be placed.
Property
2.0.0.0
System.Windows.Forms.TableLayoutPanel
To be added.
This property is set by the constructor.
Gets the parent that contains the controls in the collection.