Export (0) Print
Expand All

Form.ControlCollection Methods

(see also Protected Methods )
  Name Description
Public method Add Overridden. Adds a control to the form.
Public method AddRange  Adds an array of control objects to the collection. (Inherited from Control.ControlCollection.)
Public method Clear  Removes all controls from the collection. (Inherited from Control.ControlCollection.)
Public method Contains  Determines whether the specified control is a member of the collection. (Inherited from Control.ControlCollection.)
Public method ContainsKey  Determines whether the Control.ControlCollection contains an item with the specified key. (Inherited from Control.ControlCollection.)
Public method CopyTo  Copies the entire contents of this collection to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from ArrangedElementCollection.)
Public method Equals  Overloaded. Determines whether two ArrangedElementCollection instances are equal. (Inherited from ArrangedElementCollection.)
Public method Find  Searches for controls by their Name property and builds an array of all the controls that match. (Inherited from Control.ControlCollection.)
Public method GetChildIndex  Overloaded. Retrieves the index of a control within the control collection. (Inherited from Control.ControlCollection.)
Public method GetEnumerator  Retrieves a reference to an enumerator object that is used to iterate over a Control.ControlCollection. (Inherited from Control.ControlCollection.)
Public method GetHashCode  Returns the hash code for this instance. (Inherited from ArrangedElementCollection.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf  Retrieves the index of the specified control in the control collection. (Inherited from Control.ControlCollection.)
Public method IndexOfKey  Retrieves the index of the first occurrence of the specified item within the collection. (Inherited from Control.ControlCollection.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Remove Overridden. Removes a control from the form.
Public method RemoveAt  Removes a control from the control collection at the specified indexed location. (Inherited from Control.ControlCollection.)
Public method RemoveByKey  Removes the child control with the specified key. (Inherited from Control.ControlCollection.)
Public method SetChildIndex  Sets the index of the specified child control in the collection to the specified index value. (Inherited from Control.ControlCollection.)
Public method ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft