ClassRadTabbedFormControlTabCollection
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
RadTabbedFormControlTabCollection(RadTabbedFormControl)
Declaration
public RadTabbedFormControlTabCollection(RadTabbedFormControl owner)
Parameters
owner
Properties
Count
Gets the number of elements in the collection.
this[int]
Indicates the System.Windows.Forms.Control at the specified indexed location in the collection.
Declaration
public RadTabbedFormControlTab this[int index] { get; set; }
Parameters
index
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.
this[string]
Indicates a RadTabbedFormControlTab with the specified name in the collection.
Declaration
public RadTabbedFormControlTab this[string name] { get; }
Parameters
name
The name of the tab to retrieve from the control collection.
Property Value
The RadTabbedFormControlTab with the specified name within the RadTabbedFormControlCollection.
Methods
Add(RadTabbedFormControlTab)
Adds the specified tab to the Tabs collection.
Declaration
public void Add(RadTabbedFormControlTab item)
Parameters
item
The RadTabbedFormControlTab to add to the control collection.
ChangeIndex(RadTabbedFormControlTab, int)
Sets the index of the specified child control in the collection to the specified index value.
Declaration
public void ChangeIndex(RadTabbedFormControlTab tab, int newIndex)
Parameters
tab
newIndex
Clear()
Removes all tabs from the collection.
Declaration
public void Clear()
Implements
Contains(RadTabbedFormControlTab)
Checks for a particular tab if it is part of the collection.
Declaration
public bool Contains(RadTabbedFormControlTab item)
Parameters
item
The RadTabbedFormControlTab to check if contained.
Returns
True if the collection contains the tab; otherwise false.
Contains(string)
Checks by name if a particular tab is part of the collection.
Contains(string, bool)
Checks by name if a particular tab is part of the collection.
CopyTo(RadTabbedFormControlTab[], int)
Copies the entire contents of this collection to a compatible one-dimensional System.Array, starting at the specified index of the target array.
Declaration
public void CopyTo(RadTabbedFormControlTab[] array, int arrayIndex)
Parameters
array
The one-dimensional System.Array that is the destination of the elements copied from the current collection. The array must have zero-based indexing.
arrayIndex
The zero-based index in array at which copying begins.
GetEnumerator()
Declaration
public IEnumerator<RadTabbedFormControlTab> GetEnumerator()
Returns
IEnumerator<RadTabbedFormControlTab>
IndexOf(RadTabbedFormControlTab)
Retrieves the index of the specified tab in the tabs collection.
Declaration
public int IndexOf(RadTabbedFormControlTab item)
Parameters
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.
Insert(int, RadTabbedFormControlTab)
Inserts the specified item at a given index in the RadTabbedFormControlCollection.
Declaration
public void Insert(int index, RadTabbedFormControlTab item)
Parameters
index
The index at which the RadTabbedFormControlTab will be inserted.
item
The RadTabbedFormControlTab to be inserted in the collection.
Remove(RadTabbedFormControlTab)
Removes the specified tab from the tabs collection.
Declaration
public bool Remove(RadTabbedFormControlTab item)
Parameters
item
The RadTabbedFormControlTab to remove from the RadTabbedFormControlCollection.
Returns
RemoveAt(int)
Removes a RadTabbedFormControlTab from the collection at the specified indexed location.
Declaration
public void RemoveAt(int index)
Parameters
index
The index value of the RadTabbedFormControlTab to remove.
Implements
Swap(RadTabbedFormControlTab, RadTabbedFormControlTab)
Swaps the positions of the two tabs inside the RadTabbedFormControlCollection.
Declaration
public void Swap(RadTabbedFormControlTab tab1, RadTabbedFormControlTab tab2)
Parameters
tab1
tab2