TabControl.TabPageCollection
Wisej.Web.TabControl TabPageCollection
Last updated
Was this helpful?
Wisej.Web.TabControl TabPageCollection
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.2.0.0)
Contains a collection of objects.
: Returns the number of tab pages in the collection.
: Returns or sets a in the collection at the specified index.
Throws:
index is less than zero or greater than the highest available index.
value is null.
: Returns the with the specified key from the collection.
tabPage
Throws:
text
key
text
key
text
imageIndex
key
text
imageKey
pages
Throws:
dispose
tabPage
Throws:
key
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:
tabPage
Throws:
key
index
tabPage
index
text
index
key
text
index
key
The name of the tab page.
text
imageIndex
index
key
The name of the tab page.
text
imageKey
tabPage
Throws:
index
key
Adds a to the collection.
The to add.
The specified tabPage is null.
Creates a with the specified text, and adds it to the collection.
The text to display on the .
Creates a with the specified key and text and adds it to the collection.
The name of the .
The text to display on the .
Creates a with the specified key, text, and image, and adds it to the collection.
The name of the .
The text to display on the .
The index of the image to display on the .
Creates a with the specified key, text, and image, and adds it to the collection.
The name of the .
The text to display on the .
The key of the image to display on the .
Adds a set of pages to the collection.
An array of type that contains the pages to add.
The value of pages is null.
Removes all the pages from the collection.
Removes and disposes all pages from the collection.
Indicates whether to dispose the pages removed from the collection.
Determines whether a specified is in the collection.
The to locate in the collection.
Returns: . true if the specified is in the collection; otherwise, false.
The value of tabPage is null.
Determines whether the collection contains a with the specified key.
The name of the page to search for.
Returns: . true to indicate a page with the specified key was found in the collection; otherwise, false.
Copies the pages in the collection to the specified array, starting at the specified index.
array is null.
array is less than zero.
array is multidimensional or the number of elements in the is greater than the available space from index to the end of array .
Returns the index of the in the collection.
The to locate in the collection.
Returns: . The zero-based index of the tab page; -1 if it cannot be found.
The value of tabPage is null.
Returns the index of the first occurrence of the with the specified key.
The name of the to find in the collection.
Returns: . The zero-based index of the first occurrence of a with the specified key, if found; otherwise, -1.
Inserts an existing into the collection at the specified index.
The zero-based index location where the page is inserted.
The to insert in the collection.
Creates a new with the specified text and inserts it into the collection at the specified index.
The zero-based index location where the page is inserted.
The text to display in the page.
Creates a new with the specified key and text, and inserts it into the collection at the specified index.
The zero-based index location where the is inserted.
The name of the .
The text to display on the .
Creates a new with the specified key, text, and image, and inserts it into the collection at the specified index.
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 .
Creates a with the specified key, text, and image, and inserts it into the collection at the specified index.
The zero-based index location where the is inserted.
The text to display on the .
The key of the image to display on the .
Removes the from the collection.
The to remove.
The tabPage parameter is null.
Removes the at the specified index from the collection.
The zero-based index of the to remove.
Removes the with the specified key from the collection.
The name of the page to remove.