Export (0) Print
Expand All

TabControl.ControlCollection Class

Contains a collection of Control objects.

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

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

The TabControl.ControlCollection type exposes the following members.

  NameDescription
Public methodTabControl.ControlCollectionInfrastructure. Initializes a new instance of the TabControl.ControlCollection class.
Top

  NameDescription
Public propertyCountGets the number of elements in the collection. (Inherited from ArrangedElementCollection.)
Public propertyIsReadOnlyGets a value indicating whether the collection is read-only. (Inherited from ArrangedElementCollection.)
Public propertyItem[Int32]Indicates the Control at the specified indexed location in the collection. (Inherited from Control.ControlCollection.)
Public propertyItem[String]Indicates a Control with the specified key in the collection. (Inherited from Control.ControlCollection.)
Public propertyOwnerGets the control that owns this Control.ControlCollection. (Inherited from Control.ControlCollection.)
Top

  NameDescription
Public methodAddAdds a Control to the collection. (Overrides Control.ControlCollection.Add(Control).)
Public methodAddRangeAdds an array of control objects to the collection. (Inherited from Control.ControlCollection.)
Public methodClearRemoves all controls from the collection. (Inherited from Control.ControlCollection.)
Public methodContainsDetermines whether the specified control is a member of the collection. (Inherited from Control.ControlCollection.)
Public methodContainsKeyDetermines whether the Control.ControlCollection contains an item with the specified key. (Inherited from Control.ControlCollection.)
Public methodCopyToCopies 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 methodEqualsDetermines whether two ArrangedElementCollection instances are equal. (Inherited from ArrangedElementCollection.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodFindSearches for controls by their Name property and builds an array of all the controls that match. (Inherited from Control.ControlCollection.)
Public methodGetChildIndex(Control)Retrieves the index of the specified child control within the control collection. (Inherited from Control.ControlCollection.)
Public methodGetChildIndex(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.)
Public methodGetEnumeratorRetrieves a reference to an enumerator object that is used to iterate over a Control.ControlCollection. (Inherited from Control.ControlCollection.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ArrangedElementCollection.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIndexOfRetrieves the index of the specified control in the control collection. (Inherited from Control.ControlCollection.)
Public methodIndexOfKeyRetrieves the index of the first occurrence of the specified item within the collection. (Inherited from Control.ControlCollection.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodRemoveRemoves a Control from the collection. (Overrides Control.ControlCollection.Remove(Control).)
Public methodRemoveAtRemoves a control from the control collection at the specified indexed location. (Inherited from Control.ControlCollection.)
Public methodRemoveByKeyRemoves the child control with the specified key. (Inherited from Control.ControlCollection.)
Public methodSetChildIndexSets the index of the specified child control in the collection to the specified index value. (Inherited from Control.ControlCollection.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodICloneable.CloneInfrastructure. For a description of this member, see ICloneable.Clone. (Inherited from Control.ControlCollection.)
Explicit interface implemetationPrivate propertyICollection.IsSynchronizedFor a description of this member, see the ICollection.IsSynchronized property. (Inherited from ArrangedElementCollection.)
Explicit interface implemetationPrivate propertyICollection.SyncRootFor a description of this member, see the ICollection.SyncRoot property. (Inherited from ArrangedElementCollection.)
Explicit interface implemetationPrivate methodIList.AddInfrastructure. For a description of this member, see IList.Add. (Inherited from Control.ControlCollection.)
Explicit interface implemetationPrivate methodIList.ClearFor a description of this member, see the IList.Clear method. (Inherited from ArrangedElementCollection.)
Explicit interface implemetationPrivate methodIList.ContainsFor a description of this member, see the IList.Contains method. (Inherited from ArrangedElementCollection.)
Explicit interface implemetationPrivate methodIList.IndexOfFor a description of this member, see the IList.IndexOf method. (Inherited from ArrangedElementCollection.)
Explicit interface implemetationPrivate methodIList.InsertFor a description of this member, see the IList.Insert method. (Inherited from ArrangedElementCollection.)
Explicit interface implemetationPrivate propertyIList.IsFixedSizeFor a description of this member, see the IList.IsFixedSize property. (Inherited from ArrangedElementCollection.)
Explicit interface implemetationPrivate propertyIList.ItemFor a description of this member, see the IList.Item property. (Inherited from ArrangedElementCollection.)
Explicit interface implemetationPrivate methodIList.RemoveInfrastructure. For a description of this member, see IList.Remove. (Inherited from Control.ControlCollection.)
Explicit interface implemetationPrivate methodIList.RemoveAtFor a description of this member, see the IList.RemoveAt method. (Inherited from ArrangedElementCollection.)
Top

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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