Skip to main content
Tab

TabCollection Methods

Represents a collection of tabs within the ASPxTabControl.
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, 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.
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) Adds a new tab to the collection and specifies the tab’s display text, name and associated image.
Add(String, String) Adds a new tab to the collection and specifies the tab’s display text and name.
Add(String) Adds a new tab to the collection and specifies the tab’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 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.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(Tab) Removes a tab object from the tab 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