ControlCollection Properties

The properties of the ControlCollection class are listed here. For a complete list of ControlCollection class members, see the ControlCollection Members topic.

Public Properties

public propertyCount Gets the number of server controls in the ControlCollection object for the specified ASP.NET server control.
public propertyIsReadOnly Gets a value indicating whether the ControlCollection object is read-only.
public propertyIsSynchronized Gets a value indicating whether the ControlCollection is synchronized.
public propertyItem Gets a reference to the server control at the specified index location in the ControlCollection object.

In C#, this property is the indexer for the ControlCollection class.

public propertySyncRoot Gets an object that can be used to synchronize access to the collection of controls.

Protected Properties

protected propertyOwner Gets the ASP.NET server control to which the ControlCollection object belongs.

See Also

ControlCollection Class | System.Web.UI Namespace

© 2016 Microsoft