Export (0) Print
Expand All

Control.ControlCollection Methods

The Control.ControlCollection type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Add Adds the specified control to the control collection.
Public method AddRange Adds an array of control objects to the collection.
Public method Supported by the .NET Compact Framework Clear Removes all controls from the collection.
Public method Supported by the .NET Compact Framework Contains Determines whether the specified control is a member of the collection.
Public method ContainsKey Determines whether the Control.ControlCollection contains an item with the specified key.
Public method Supported by the .NET Compact Framework 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 Supported by the .NET Compact Framework Equals Determines whether two ArrangedElementCollection instances are equal. (Inherited from ArrangedElementCollection.)

In .NET Compact Framework 3.5, this member is inherited from Object.Equals(Object).
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Find Searches for controls by their Name property and builds an array of all the controls that match.
Public method Supported by the .NET Compact Framework GetChildIndex Overloaded. Retrieves the index of a control within the control collection.
Public method Supported by the .NET Compact Framework GetEnumerator Retrieves a reference to an enumerator object that is used to iterate over a Control.ControlCollection. (Overrides ArrangedElementCollection.GetEnumerator().)
Public method Supported by the .NET Compact Framework GetHashCode Returns the hash code for this instance. (Inherited from ArrangedElementCollection.)

In .NET Compact Framework 3.5, this member is inherited from Object.GetHashCode().
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework IndexOf Retrieves the index of the specified control in the control collection.
Public method IndexOfKey Retrieves the index of the first occurrence of the specified item within the collection.
Protected method Supported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Remove Removes the specified control from the control collection.
Public method Supported by the .NET Compact Framework RemoveAt Removes a control from the control collection at the specified indexed location.
Public method RemoveByKey Removes the child control with the specified key.
Public method Supported by the .NET Compact Framework SetChildIndex Sets the index of the specified child control in the collection to the specified index value.
Public method Supported by the .NET Compact Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

  NameDescription
Explicit interface implemetation Private method Supported by the .NET Compact Framework IList.Add Infrastructure. For a description of this member, see IList.Add.
Explicit interface implemetation Private method Supported by the .NET Compact Framework IList.Clear For a description of this member, see the IList.Clear method. (Inherited from ArrangedElementCollection.)
Explicit interface implemetation Private method ICloneable.Clone Infrastructure. For a description of this member, see ICloneable.Clone.
Public method Supported by the .NET Compact Framework Contains Overloaded.
Public method Supported by the .NET Compact Framework IndexOf Overloaded.
Public method Supported by the .NET Compact Framework Insert Overloaded.
Explicit interface implemetation Private method Supported by the .NET Compact Framework IList.Remove Infrastructure. For a description of this member, see IList.Remove.
Explicit interface implemetation Private method Supported by the .NET Compact Framework IList.RemoveAt For a description of this member, see the IList.RemoveAt method. (Inherited from ArrangedElementCollection.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft