TabControl.TabPageCollection
Wisej.Web.TabControl TabPageCollection
Last updated
Wisej.Web.TabControl TabPageCollection
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Contains a collection of TabPage objects.
Int32: Returns the number of tab pages in the collection.
TabPage: Returns or sets a TabPage in the collection at the specified index.
Throws:
ArgumentOutOfRangeException index is less than zero or greater than the highest available index.
ArgumentNullException value is null.
TabPage: Returns the TabPage with the specified key from the collection.
Adds a TabPage to the collection.
tabPage
Throws:
ArgumentNullException The specified tabPage is null.
Creates a TabPage with the specified text, and adds it to the collection.
text
Creates a TabPage with the specified key and text and adds it to the collection.
key
text
Creates a TabPage with the specified key, text, and image, and adds it to the collection.
key
text
imageIndex
Creates a TabPage with the specified key, text, and image, and adds it to the collection.
key
text
imageKey
Adds a set of TabPage pages to the collection.
pages
Throws:
ArgumentNullException The value of pages is null.
Removes all the TabPage pages from the collection.
Removes and disposes all TabPage pages from the collection.
dispose
Determines whether a specified TabPage is in the collection.
tabPage
Returns: Boolean. true if the specified TabPage is in the collection; otherwise, false.
Throws:
ArgumentNullException The value of tabPage is null.
Determines whether the collection contains a TabPage with the specified key.
key
Returns: Boolean. true to indicate a TabPage page with the specified key was found in the collection; otherwise, false.
Copies the TabPage pages in the collection to the specified array, starting at the specified index.
array
The one-dimensional array that is the destination of the tab pages copied from the collection. The array must have zero-based indexing.
index
The zero-based index in the array at which copying begins.
Throws:
ArgumentNullException array is null.
ArgumentOutOfRangeException array is less than zero.
ArgumentException array is multidimensional or the number of elements in the TabPageCollection is greater than the available space from index to the end of array .
Returns the index of the TabPage in the collection.
tabPage
Returns: Int32. The zero-based index of the tab page; -1 if it cannot be found.
Throws:
ArgumentNullException The value of tabPage is null.
Returns the index of the first occurrence of the TabPage with the specified key.
key
Returns: Int32. The zero-based index of the first occurrence of a TabPage with the specified key, if found; otherwise, -1.
Inserts an existing TabPage into the collection at the specified index.
index
tabPage
Creates a new TabPage with the specified text and inserts it into the collection at the specified index.
index
text
Creates a new TabPage with the specified key and text, and inserts it into the collection at the specified index.
index
key
text
Creates a new TabPage with the specified key, text, and image, and inserts it into the collection at the specified index.
index
key
The name of the tab page.
text
imageIndex
Creates a TabPage with the specified key, text, and image, and inserts it into the collection at the specified index.
index
key
The name of the tab page.
text
imageKey
Removes the TabPage from the collection.
tabPage
Throws:
ArgumentNullException The tabPage parameter is null.
Removes the TabPage at the specified index from the collection.
index
Removes the TabPage with the specified key from the collection.
key
The to add.
The text to display on the .
The name of the .
The text to display on the .
The name of the .
The text to display on the .
The index of the image to display on the .
The name of the .
The text to display on the .
The key of the image to display on the .
An array of type that contains the pages to add.
Indicates whether to dispose the pages removed from the collection.
The to locate in the collection.
The name of the page to search for.
The to locate in the collection.
The name of the to find in the collection.
The zero-based index location where the page is inserted.
The to insert in the collection.
The zero-based index location where the page is inserted.
The text to display in the page.
The zero-based index location where the is inserted.
The name of the .
The text to display on the .
The zero-based index location where the is inserted
The text to display on the .
The zero-based index of the image to display on the .
The zero-based index location where the is inserted.
The text to display on the .
The key of the image to display on the .
The to remove.
The zero-based index of the to remove.
The name of the page to remove.