TabControl.TabPageCollection Methods
.NET Framework 4.5
The TabControl.TabPageCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add(String) | Creates a tab page with the specified text, and adds it to the collection. |
|
Add(TabPage) | Adds a TabPage to the collection. |
|
Add(String, String) | Creates a tab page with the specified text and key, and adds it to the collection. |
|
Add(String, String, Int32) | Creates a tab page with the specified key, text, and image, and adds it to the collection. |
|
Add(String, String, String) | Creates a tab page with the specified key, text, and image, and adds it to the collection. |
|
AddRange | Adds a set of tab pages to the collection. |
|
Clear | Removes all the tab pages from the collection. |
|
Contains | Determines whether a specified tab page is in the collection. |
|
ContainsKey | Determines whether the collection contains a tab page with the specified key. |
|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetEnumerator | Returns an enumeration of all the tab pages in the collection. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
IndexOf | Returns the index of the specified tab page in the collection. |
|
IndexOfKey | Returns the index of the first occurrence of the TabPage with the specified key. |
|
Insert(Int32, String) | Creates a new tab page with the specified text and inserts it into the collection at the specified index. |
|
Insert(Int32, TabPage) | Inserts an existing tab page into the collection at the specified index. |
|
Insert(Int32, String, String) | Creates a new tab page with the specified key and text, and inserts it into the collection at the specified index. |
|
Insert(Int32, String, String, Int32) | Creates a new tab page with the specified key, text, and image, and inserts it into the collection at the specified index. |
|
Insert(Int32, String, String, String) | Creates a tab page with the specified key, text, and image, and inserts it into the collection at the specified index. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Remove | Removes a TabPage from the collection. |
|
RemoveAt | Removes the tab page at the specified index from the collection. |
|
RemoveByKey | Removes the tab page with the specified key from the collection. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
|
ICollection.CopyTo | Infrastructure. Copies the elements of the collection to the specified array, starting at the specified index. |
|
IList.Add | Infrastructure. Adds a TabPage control to the collection. |
|
IList.Contains | Infrastructure. Determines whether the specified TabPage control is in the TabControl.TabPageCollection. |
|
IList.IndexOf | Infrastructure. Returns the index of the specified TabPage control in the collection. |
|
IList.Insert | Infrastructure. Inserts a TabPage control into the collection. |
|
IList.Remove | Infrastructure. Removes a TabPage from the collection. |