DekGenius.com
[ Team LiB ] Previous Section Next Section

Control.ControlCollection

System.Windows.Forms (system.windows.forms.dll)class

This class represents the collection of child Controls in a Control object.

public class Control.ControlCollection : IList, ICollection, IEnumerable, ICloneable {
// Public Constructors
   public Control.ControlCollection(Control owner);
// Public Instance Properties
   public int Count{get; }
// implements ICollection
   public bool IsReadOnly{get; }
// implements IList
   public virtual Control this{get; }
// Public Instance Methods
   public virtual void Add(Control value);
   public virtual void AddRange(Control[ ] controls);
   public virtual void Clear();  // implements IList
   public bool Contains(Control control);
   public void CopyTo(Array dest, int index);  // implements ICollection
   public override bool Equals(object other);  // overrides object
   public int GetChildIndex(Control child);
   public int GetChildIndex(Control child, bool throwException);
   public IEnumerator GetEnumerator();  // implements IEnumerable
   public override int GetHashCode();  // overrides object
   public int IndexOf(Control control);
   public virtual void Remove(Control value);
   public void RemoveAt(int index);  // implements IList
   public void SetChildIndex(Control child, int newIndex);
}
    [ Team LiB ] Previous Section Next Section