Control.ControlCollection

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  ); } 


. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net