[]
Adds a child control to the container.
public virtual void AddChild(Control ctl)
Public Overridable Sub AddChild(ctl As Control)
Type | Name | Description |
---|---|---|
Control | ctl | Child control to add |
Type | Condition |
---|---|
Exception | Name of the child control already exists in the container; control names must be unique |
Exception | No child control name specified or control name is null or empty; control names must be non-null and non-empty |