Class ControlCollection

ControlCollection class

Control collection.

public class ControlCollection : Collection<Control>

Properties

NameDescription
Capacity { get; set; }
Count { get; }
Item { get; set; }

Methods

NameDescription
Add(Control)Add the Control object in the collection.
BinarySearch(Control)
BinarySearch(Control, IComparer<Control>)
BinarySearch(int, int, Control, IComparer<Control>)
Clear()
Contains(Control)
CopyTo(Control[])
CopyTo(Control[], int)
CopyTo(int, Control[], int, int)
Exists(Predicate<Control>)
Find(Predicate<Control>)
FindAll(Predicate<Control>)
FindIndex(Predicate<Control>)
FindIndex(int, Predicate<Control>)
FindIndex(int, int, Predicate<Control>)
FindLast(Predicate<Control>)
FindLastIndex(Predicate<Control>)
FindLastIndex(int, Predicate<Control>)
FindLastIndex(int, int, Predicate<Control>)
GetControl(int)Gets the element at the specified index IX.
GetControlFromId(int)Gets the element at the specified ID.
GetControlFromName(string)Gets the element at the specified name.
GetEnumerator()
IndexOf(Control)
IndexOf(Control, int)
IndexOf(Control, int, int)
LastIndexOf(Control)
LastIndexOf(Control, int)
LastIndexOf(Control, int, int)
Remove(Control)Remove the Control object from the collection.
RemoveAt(int)

See Also