Skip to main content

MVCxTabCollection Members

Represents a collection of tabs within a tabbed extension (PageControl or TabControl).

Constructors

Name Description
MVCxTabCollection() Initializes a new instance of the MVCxTabCollection class with default settings.

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 MVCxTabCollection.
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(MVCxTab) Adds the specified tab to the collection.
Add(Tab) Adds the specified tab to the collection. Inherited from TabCollection.
Add(Action<MVCxTab>) Adds a new tab to the collection and allows you to customize this tab in a delegate method implementation.
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. Inherited from TabCollection.
IndexOf(MVCxTab) Searches for the specified tab object and returns the zero-based index of the first occurrence within the tab collection.
IndexOf(Tab) Searches for the specified tab object and returns the zero-based index of the first occurrence within the tab collection. Inherited from TabCollection.
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, MVCxTab) Inserts the specified tab object into the collection at the specified index.
Insert(Int32, Tab) Inserts the specified tab object into the collection at the specified index. Inherited from TabCollection.
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(MVCxTab) Removes a tab object from the tab collection.
Remove(Tab) Removes a tab object from the tab collection. Inherited from TabCollection.
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