System.Web.UI.WebControls.CompositeControl.Controls Property

Gets a System.Web.UI.ControlCollection object that represents the child controls in a System.Web.UI.WebControls.CompositeControl.

Syntax

public override System.Web.UI.ControlCollection Controls { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The CompositeControl.Controls property overrides the base implementation to ensure that all child controls have been created prior to returning the System.Web.UI.ControlCollection object.

The CompositeControl.Controls property allows you to programmatically access the System.Web.UI.ControlCollection for the System.Web.UI.WebControls.CompositeControl. You can add controls to, or remove controls from the collection, and iterate through the controls in the collection.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0