Tab

TabCollection Members

Represents a collection of tabs within the ASPxTabControl.

Constructors

Name Description
TabCollection() Initializes a new instance of the TabCollection class.
TabCollection(ASPxTabControl) Initializes a new instance of the TabCollectionclass 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 tabs within the TabCollection.
Owner Gets the collection's owner. Inherited from Collection.

Methods

Name Description
Add() Adds a new tab to the end of the collection and returns the newly created object.
Add(Tab) Adds the specified tab to the collection.
Add(String) Adds a new tab to the collection and specifies the tab's display text.
Add(String, String) Adds a new tab to the collection and specifies the tab's display text and name.
Add(String, String, String) Adds a new tab to the collection and specifies the tab's display text, name and associated image.
Add(String, String, String, String) Adds a new tab to the collection and specifies the tab's display text, name, associated image and URL.
Add(String, String, String, String, String) Adds a new tab to the collection and specifies the tab's display text, name, associated image and URL as well as the target of the URL content.
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) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
FindByName(String) Returns a tab object with the specified TabBase.Name property value.
FindByText(String) Returns a tab 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.
GetVisibleTab(Int32) Gets a tab by its visible index.
GetVisibleTabCount() Returns the number of visible tabs in the ASPxTabControl.
IndexOf(Tab) Searches for the specified tab object and returns the zero-based index of the first occurrence within the tab 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, Tab) Inserts the specified tab 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.