Skip to main content
Tab

TabPageCollection Members

Represents a collection of tabbed pages within the ASPxPageControl.

Constructors

Name Description
TabPageCollection() Initializes a new instance of the TabPageCollection class.
TabPageCollection(ASPxPageControl) Initializes a new instance of the TabPageCollectionclass specifying its owner.

Properties

Name Description
Count Gets the number of items contained within the collection. Inherited from StateManagedCollectionBase.
IsEmpty Gets a value indicating whether the collection is empty. Inherited from StateManagedCollectionBase.
Item[Int32] Provides indexed access to individual tab pages within the TabPageCollection.
Owner Gets the collection’s owner. Inherited from Collection.

Methods

Name Description
Add() Adds a new tab page to the end of the collection and returns the newly created object.
Add(TabPage) Adds the specified tab page to the collection.
Add(String, String, String) Adds a new tab page to the collection and specifies the page’s display text, name and associated image.
Add(String, String) Adds a new tab page to the collection and specifies the tab page’s display text and name.
Add(String) Adds a new tab page to the collection and specifies the tab page’s display text.
Assign(IAssignableCollection) Copies the items from the specified IAssignableCollection-supported object to the current object. Inherited from Collection.
Clear() Clears the collection by removing all its items. Inherited from StateManagedCollectionBase.
CopyTo(Array, Int32) Copies the items from the collection to the specified array, starting at the specified index in the array object. Inherited from StateManagedCollectionBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FindByName(String) Returns a tab page object with the specified TabBase.Name property value.
FindByText(String) Returns a tab page object with the specified TabBase.Text property value.
GetEnumerator() Returns a reference to an enumerator object, which is used to iterate through the collection. Inherited from StateManagedCollectionBase.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
GetVisibleTabPage(Int32) Gets a tabbed page by its visible index.
GetVisibleTabPageCount() Returns the number of visible tabbed pages in the ASPxPageControl.
IndexOf(TabPage) Searches for the specified tab page object and returns the zero-based index of the first occurrence within the tab page collection.
IndexOfName(String) Searches for an item object specified by the value of its TabBase.Name property and returns the zero-based index of the first occurrence within the collection. Inherited from TabCollectionBase.
IndexOfText(String) Searches for an item specified by the value of its TabBase.Text property and returns the zero-based index of the first occurrence within the collection. Inherited from TabCollectionBase.
Insert(Int32, TabPage) Inserts the specified tab page object into the collection at the specified index.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Move(Int32, Int32) Moves a specific collection item to another position within the list. Inherited from Collection.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(TabPage) Removes a tab page object from the tab page collection.
RemoveAt(Int32) Removes the collection item at the specified index location from the current collection. Inherited from Collection.
SetDirty() For internal use only. Inherited from StateManagedCollectionBase.
ToString() Returns a string that represents the current object. Inherited from Collection.
See Also