ControlCollection Class

A collection of Control objects.

Namespace: elsystem.windows.forms

Properties

   Additional properties, methods, and events are described in the classes listed under Inheritance Hierarchy (see below).

  Name Type Description
Public property Count int Gets the number of items in the collection.
Public property Items[Indx] object Gets the Control object at position Indx.
Methods
  Name Description
Public property Add(ctrl) Adds the specified Control (ctrl) to the end of the collection.
Public property Remove(ctrl) Removes the specified ctrl object from the collection..  
Public property RemoveAt(index) Removes a control from the collection at location index.  
Public property at(indx) Represents a control at a specific indx location in the collection.
Public property clear() Removes all elements from the collection.
Inheritance Hierarchy

elsystem.Object

elsystem.DotNetObject

elsystem.windows.forms.ControlCollection