System.Web.UI (system.web.dll) | class |
This class represents a collection of controls. It allows pages and
other controls to specify their child controls (as with the
Page.Controls Property).
public class ControlCollection : ICollection, IEnumerable {
// Public Constructors
public ControlCollection(Control owner);
// Public Instance Properties
public int Count{get; } // implements ICollection
public bool IsReadOnly{get; }
public bool IsSynchronized{get; } // implements ICollection
public object SyncRoot{get; } // implements ICollection
public virtual Control this[int index]{get; }
// Protected Instance Properties
protected Control Owner{get; }
// Public Instance Methods
public virtual void Add(Control child);
public virtual void AddAt(int index, Control child);
public virtual void Clear( );
public virtual bool Contains(Control c);
public void CopyTo(Array array, int index); // implements ICollection
public IEnumerator GetEnumerator( ); // implements IEnumerable
public virtual int IndexOf(Control value);
public virtual void Remove(Control value);
public virtual void RemoveAt(int index);
}
Subclasses
EmptyControlCollection
Returned By
Control.{Controls,
CreateControlCollection( )}
|