asp.net.ph

ControlCollection Class

System.Web.UI Namespace


Provides a collection container that enables ASP.NET server controls to maintain a list of their child controls.

ControlCollection Class Members

Collapse   Constructors

Visibility Constructor Parameters
public ControlCollection ( Control owner )

Collapse   Properties

Visibility Name Value Type Accessibility
public Count Int32 [ Get ]
public IsReadOnly Boolean [ Get ]
public IsSynchronized Boolean [ Get ]
public Item ( Int32 index ) Control [ Get ]
public SyncRoot Object [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public Add ( Control child ) Void
public AddAt ( Int32 index , Control child ) Void
public Clear ( ) Void
public Contains ( Control c ) Boolean
public CopyTo ( Array array , Int32 index ) Void
public GetEnumerator ( ) IEnumerator
public IndexOf ( Control value ) Int32
public Remove ( Control value ) Void
public RemoveAt ( Int32 index ) Void

Remarks

You can access any of the properties and methods of the ControlCollection class through the Control.Controls property. Since the Control class is the base class for all ASP.NET server controls, all server controls inherit this property.

See Also

Controls   HasControls Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph