Class ControlCollection

ControlCollection class

Control collection.

public class ControlCollection : Collection

Properties

NameDescription
Count { get; }Gets the number of elements actually contained in the collection.
Item { get; }Gets the element at the specified index.

Methods

NameDescription
Add(Control)Add the Control object in the collection.
Clear()Removes all elements from collection.
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()Supports a simple iteration over a nongeneric collection.
IsExist(int)Is exist item in the collection.
Remove(Control)Remove the Control object from the collection.

See Also