TableLayoutControlCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Represents a collection of child controls in a table layout container.
- C#
- VB.NET
public class TableLayoutControlCollection : ControlCollection
Public Class TableLayoutControlCollection
Inherits ControlCollection
Constructors
TableLayoutControlCollection(container)
Initializes a new instance of the TableLayoutControlCollection class.
| Name | Type | Description |
|---|---|---|
| container | TableLayoutPanel | The TableLayoutPanel control that contains the control collection. |
Properties
Container
TableLayoutPanel: Returns the parent TableLayoutPanel that contains the controls in the collection.
Methods
Add(control, column, row)
Adds the specified control to the collection and positions it at the specified cell.
| Parameter | Type | Description |
|---|---|---|
| control | Control | The control to add. |
| column | Int32 | The column in which control will be placed. |
| row | Int32 | The row in which control will be placed. |
Throws:
- ArgumentException Either * column* or row is less than -1.