Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTabbedFormControlTabCollection : RadTabbedFormControlObject, IDisposable, IList, ICollection, IEnumerable
Inheritance: objectDisposableObjectRadTabbedFormControlObjectRadTabbedFormControlTabCollection
Implements:
Inherited Members
Constructors
public RadTabbedFormControlTabCollection(RadTabbedFormControl owner)
Properties
Indicates the System.Windows.Forms.Control at the specified indexed location in the collection.
public RadTabbedFormControlTab this[int index] { get; set; }
The index of the control to retrieve from the control collection.
Property Value:The RadTabbedFormControlTab located at the specified index location within the control collection.
Indicates a RadTabbedFormControlTab with the specified name in the collection.
public RadTabbedFormControlTab this[string name] { get; }
The name of the tab to retrieve from the control collection.
Property Value:The RadTabbedFormControlTab with the specified name within the RadTabbedFormControlCollection.
Methods
Adds the specified tab to the Tabs collection.
public void Add(RadTabbedFormControlTab item)
The RadTabbedFormControlTab to add to the control collection.
Sets the index of the specified child control in the collection to the specified index value.
public void ChangeIndex(RadTabbedFormControlTab tab, int newIndex)
Removes all tabs from the collection.
public void Clear()
Implements:
Checks for a particular tab if it is part of the collection.
public bool Contains(RadTabbedFormControlTab item)
The RadTabbedFormControlTab to check if contained.
Returns:True if the collection contains the tab; otherwise false.
Checks by name if a particular tab is part of the collection.
Copies the entire contents of this collection to a compatible one-dimensional System.Array, starting at the specified index of the target array.
public void CopyTo(RadTabbedFormControlTab[] array, int arrayIndex)
The one-dimensional System.Array that is the destination of the elements copied from the current collection. The array must have zero-based indexing.
arrayIndexintThe zero-based index in array at which copying begins.
public IEnumerator<RadTabbedFormControlTab> GetEnumerator()
IEnumerator<RadTabbedFormControlTab>
Retrieves the index of the specified tab in the tabs collection.
public int IndexOf(RadTabbedFormControlTab item)
The RadTabbedFormControlTab to locate in the collection.
Returns:A zero-based index value that represents the position of the specified RadTabbedFormControlTab in the RadTabbedFormControlCollection.
Inserts the specified item at a given index in the RadTabbedFormControlCollection.
public void Insert(int index, RadTabbedFormControlTab item)
The index at which the RadTabbedFormControlTab will be inserted.
itemRadTabbedFormControlTabThe RadTabbedFormControlTab to be inserted in the collection.
Removes the specified tab from the tabs collection.
public bool Remove(RadTabbedFormControlTab item)
The RadTabbedFormControlTab to remove from the RadTabbedFormControlCollection.
Returns:Removes a RadTabbedFormControlTab from the collection at the specified indexed location.
public void RemoveAt(int index)
The index value of the RadTabbedFormControlTab to remove.
Implements:
Swaps the positions of the two tabs inside the RadTabbedFormControlCollection.
public void Swap(RadTabbedFormControlTab tab1, RadTabbedFormControlTab tab2)