TabControl::ControlCollection Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Contains a collection of Control objects.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)


[ComVisibleAttribute(false)]
public ref class ControlCollection : Control::ControlCollection

NameDescription
System_CAPS_pubmethodTabControl::ControlCollection(TabControl^)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the TabControl::ControlCollection class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of elements in the collection.(Inherited from ArrangedElementCollection.)

System_CAPS_pubpropertyIsReadOnly

Gets a value indicating whether the collection is read-only.(Inherited from ArrangedElementCollection.)

System_CAPS_pubpropertyItem[Int32]

Indicates the Control at the specified indexed location in the collection.(Inherited from Control::ControlCollection.)

System_CAPS_pubpropertyItem[String^]

Indicates a Control with the specified key in the collection.(Inherited from Control::ControlCollection.)

System_CAPS_pubpropertyOwner

Gets the control that owns this Control::ControlCollection.(Inherited from Control::ControlCollection.)

NameDescription
System_CAPS_pubmethodAdd(Control^)

Adds a Control to the collection.(Overrides Control::ControlCollection::Add(Control^).)

System_CAPS_pubmethodAddRange(array<Control^>^)

Adds an array of control objects to the collection.(Inherited from Control::ControlCollection.)

System_CAPS_pubmethodClear()

Removes all controls from the collection.(Inherited from Control::ControlCollection.)

System_CAPS_pubmethodContains(Control^)

Determines whether the specified control is a member of the collection.(Inherited from Control::ControlCollection.)

System_CAPS_pubmethodContainsKey(String^)

Determines whether the Control::ControlCollection contains an item with the specified key.(Inherited from Control::ControlCollection.)

System_CAPS_pubmethodCopyTo(Array^, Int32)

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.)

System_CAPS_pubmethodEquals(Object^)

Determines whether two ArrangedElementCollection instances are equal.(Inherited from ArrangedElementCollection.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFind(String^, Boolean)

Searches for controls by their Name property and builds an array of all the controls that match.(Inherited from Control::ControlCollection.)

System_CAPS_pubmethodGetChildIndex(Control^)

Retrieves the index of the specified child control within the control collection.(Inherited from Control::ControlCollection.)

System_CAPS_pubmethodGetChildIndex(Control^, Boolean)

Retrieves the index of the specified child control within the control collection, and optionally raises an exception if the specified control is not within the control collection.(Inherited from Control::ControlCollection.)

System_CAPS_pubmethodGetEnumerator()

Retrieves a reference to an enumerator object that is used to iterate over a Control::ControlCollection.(Inherited from Control::ControlCollection.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Inherited from ArrangedElementCollection.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Control^)

Retrieves the index of the specified control in the control collection.(Inherited from Control::ControlCollection.)

System_CAPS_pubmethodIndexOfKey(String^)

Retrieves the index of the first occurrence of the specified item within the collection.(Inherited from Control::ControlCollection.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodRemove(Control^)

Removes a Control from the collection.(Overrides Control::ControlCollection::Remove(Control^).)

System_CAPS_pubmethodRemoveAt(Int32)

Removes a control from the control collection at the specified indexed location.(Inherited from Control::ControlCollection.)

System_CAPS_pubmethodRemoveByKey(String^)

Removes the child control with the specified key.(Inherited from Control::ControlCollection.)

System_CAPS_pubmethodSetChildIndex(Control^, Int32)

Sets the index of the specified child control in the collection to the specified index value.(Inherited from Control::ControlCollection.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Add(Object^)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IList::Add.(Inherited from Control::ControlCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Clear()

For a description of this member, see the IList::Clear method.(Inherited from ArrangedElementCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Contains(Object^)

For a description of this member, see the IList::Contains method.(Inherited from ArrangedElementCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::IndexOf(Object^)

For a description of this member, see the IList::IndexOf method.(Inherited from ArrangedElementCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Insert(Int32, Object^)

For a description of this member, see the IList::Insert method.(Inherited from ArrangedElementCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::Remove(Object^)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IList::Remove.(Inherited from Control::ControlCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIList::RemoveAt(Int32)

For a description of this member, see the IList::RemoveAt method.(Inherited from ArrangedElementCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodICloneable::Clone()

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see ICloneable::Clone.(Inherited from Control::ControlCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection::IsSynchronized

For a description of this member, see the ICollection::IsSynchronized property.(Inherited from ArrangedElementCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection::SyncRoot

For a description of this member, see the ICollection::SyncRoot property.(Inherited from ArrangedElementCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList::IsFixedSize

For a description of this member, see the IList::IsFixedSize property.(Inherited from ArrangedElementCollection.)

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIList::Item[Int32]

For a description of this member, see the IList::Item property.(Inherited from ArrangedElementCollection.)

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: