TabControl.TabPageCollection Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains a collection of TabPage objects.
public: ref class TabControl::TabPageCollection : System::Collections::IList
public class TabControl.TabPageCollection : System.Collections.IList
type TabControl.TabPageCollection = class
interface IList
interface ICollection
interface IEnumerable
Public Class TabControl.TabPageCollection
Implements IList
- Inheritance
-
TabControl.TabPageCollection
- Implements
The order of tab pages in this collection reflects the order of tabs in the related TabControl control. To change the order of tabs in the control, you must change their positions in the collection by removing them and inserting them at new indexes.
Tab |
Initializes a new instance of the TabControl.TabPageCollection class. |
Count |
Gets the number of tab pages in the collection. |
Is |
Gets a value indicating whether the collection is read-only. |
Item[Int32] |
Gets or sets a TabPage in the collection. |
Item[String] |
Gets a tab page with the specified key from 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. |
Add(String, String) |
Creates a tab page with the specified text and key, and adds it to the collection. |
Add(String) |
Creates a tab page with the specified text, and adds it to the collection. |
Add(Tab |
Adds a TabPage to the collection. |
Add |
Adds a set of tab pages to the collection. |
Clear() |
Removes all the tab pages from the collection. |
Contains(Tab |
Determines whether a specified tab page is in the collection. |
Contains |
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) |
Get |
Returns an enumeration of all the tab pages in the collection. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Index |
Returns the index of the specified tab page in the collection. |
Index |
Returns the index of the first occurrence of the TabPage with the specified key. |
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. |
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) |
Creates a new tab page with the specified text and inserts it into the collection at the specified index. |
Insert(Int32, Tab |
Inserts an existing tab page into the collection at the specified index. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Remove(Tab |
Removes a TabPage from the collection. |
Remove |
Removes the tab page at the specified index from the collection. |
Remove |
Removes the tab page with the specified key from the collection. |
To |
Returns a string that represents the current object. (Inherited from Object) |
ICollection. |
Copies the elements of the collection to the specified array, starting at the specified index. |
ICollection. |
Gets a value indicating whether access to the TabControl.TabPageCollection is synchronized (thread safe). |
ICollection. |
Gets an object that can be used to synchronize access to the TabControl.TabPageCollection. |
IList. |
Adds a TabPage control to the collection. |
IList. |
Determines whether the specified TabPage control is in the TabControl.TabPageCollection. |
IList. |
Returns the index of the specified TabPage control in the collection. |
IList. |
This API supports the product infrastructure and is not intended to be used directly from your code. Inserts a TabPage control into the collection. |
IList. |
Gets a value indicating whether the TabControl.TabPageCollection has a fixed size. |
IList. |
Gets or sets a TabPage in the collection. |
IList. |
Removes a TabPage from the collection. |
Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
Of |
Filters the elements of an IEnumerable based on a specified type. |
As |
Enables parallelization of a query. |
As |
Converts an IEnumerable to an IQueryable. |
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: