Class RadTabbedFormControlTabCollection
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadTabbedFormControlTabCollection : RadTabbedFormControlObject, IDisposable, IList<RadTabbedFormControlTab>, ICollection<RadTabbedFormControlTab>, IEnumerable<RadTabbedFormControlTab>, IList, ICollection, IEnumerable
Constructors
RadTabbedFormControlTabCollection(RadTabbedFormControl)
Declaration
public RadTabbedFormControlTabCollection(RadTabbedFormControl owner)
Parameters
RadTabbedFormControl
owner
|
Properties
Count
Gets the number of elements in the collection.
Declaration
public int Count { get; }
Property Value
System.Int32
|
Implements
Item[Int32]
Indicates the System.Windows.Forms.Control at the specified indexed location in the collection.
Declaration
public RadTabbedFormControlTab this[int index] { get; set; }
Parameters
System.Int32
index
The index of the control to retrieve from the control collection. |
Property Value
RadTabbedFormControlTab
The RadTabbedFormControlTab located at the specified index location within the control collection. |
Implements
Item[String]
Indicates a RadTabbedFormControlTab with the specified name in the collection.
Declaration
public RadTabbedFormControlTab this[string name] { get; }
Parameters
System.String
name
The name of the tab to retrieve from the control collection. |
Property Value
RadTabbedFormControlTab
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
RadTabbedFormControlTab
item
The RadTabbedFormControlTab to add to the control collection. |
Implements
ChangeIndex(RadTabbedFormControlTab, Int32)
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
RadTabbedFormControlTab
tab
|
System.Int32
newIndex
|
Clear()
Removes all tabs from the collection.
Declaration
public void Clear()
Implements
Contains(String)
Checks by name if a particular tab is part of the collection.
Declaration
public bool Contains(string name)
Parameters
System.String
name
The name to check the collection. Performs case insensitive "Contains". |
Returns
System.Boolean
True if the collection contains the name; otherwise false. |
Contains(String, Boolean)
Checks by name if a particular tab is part of the collection.
Declaration
public bool Contains(string name, bool ignoreCase)
Parameters
System.String
name
The name to check the collection. |
System.Boolean
ignoreCase
Specifies whether the casing will be ignored. |
Returns
System.Boolean
True if the collection contains the name; otherwise false. |
Contains(RadTabbedFormControlTab)
Checks for a particular tab if it is part of the collection.
Declaration
public bool Contains(RadTabbedFormControlTab item)
Parameters
RadTabbedFormControlTab
item
The RadTabbedFormControlTab to check if contained. |
Returns
System.Boolean
True if the collection contains the tab; otherwise false. |
Implements
CopyTo(RadTabbedFormControlTab[], Int32)
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
RadTabbedFormControlTab[]
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. |
System.Int32
arrayIndex
The zero-based index in array at which copying begins. |
Implements
GetEnumerator()
Declaration
public IEnumerator<RadTabbedFormControlTab> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<RadTabbedFormControlTab>
|
Implements
IndexOf(RadTabbedFormControlTab)
Retrieves the index of the specified tab in the tabs collection.
Declaration
public int IndexOf(RadTabbedFormControlTab item)
Parameters
RadTabbedFormControlTab
item
The RadTabbedFormControlTab to locate in the collection. |
Returns
System.Int32
A zero-based index value that represents the position of the specified RadTabbedFormControlTab in the RadTabbedFormControlCollection. |
Implements
Insert(Int32, RadTabbedFormControlTab)
Inserts the specified item at a given index in the RadTabbedFormControlCollection.
Declaration
public void Insert(int index, RadTabbedFormControlTab item)
Parameters
System.Int32
index
The index at which the RadTabbedFormControlTab will be inserted. |
RadTabbedFormControlTab
item
The RadTabbedFormControlTab to be inserted in the collection. |
Implements
Remove(RadTabbedFormControlTab)
Removes the specified tab from the tabs collection.
Declaration
public bool Remove(RadTabbedFormControlTab item)
Parameters
RadTabbedFormControlTab
item
The RadTabbedFormControlTab to remove from the RadTabbedFormControlCollection. |
Returns
System.Boolean
|
Implements
RemoveAt(Int32)
Removes a RadTabbedFormControlTab from the collection at the specified indexed location.
Declaration
public void RemoveAt(int index)
Parameters
System.Int32
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
RadTabbedFormControlTab
tab1
|
RadTabbedFormControlTab
tab2
|
Explicit Interface Implementations
ICollection<RadTabbedFormControlTab>.IsReadOnly
Declaration
bool ICollection<RadTabbedFormControlTab>.IsReadOnly { get; }
Returns
System.Boolean
|
Implements
ICollection.CopyTo(Array, Int32)
Declaration
void ICollection.CopyTo(Array array, int index)
Parameters
System.Array
array
|
System.Int32
index
|
Implements
ICollection.IsSynchronized
Declaration
bool ICollection.IsSynchronized { get; }
Returns
System.Boolean
|
Implements
ICollection.SyncRoot
Declaration
object ICollection.SyncRoot { get; }
Returns
System.Object
|
Implements
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|
Implements
IList.Add(Object)
Declaration
int IList.Add(object value)
Parameters
System.Object
value
|
Returns
System.Int32
|
Implements
IList.Contains(Object)
Declaration
bool IList.Contains(object value)
Parameters
System.Object
value
|
Returns
System.Boolean
|
Implements
IList.get_Item(Int32)
Declaration
object IList.get_Item(int index)
Parameters
System.Int32
index
|
Returns
System.Object
|
Implements
IList.IndexOf(Object)
Declaration
int IList.IndexOf(object value)
Parameters
System.Object
value
|
Returns
System.Int32
|
Implements
IList.Insert(Int32, Object)
Declaration
void IList.Insert(int index, object value)
Parameters
System.Int32
index
|
System.Object
value
|
Implements
IList.IsFixedSize
Declaration
bool IList.IsFixedSize { get; }
Returns
System.Boolean
|
Implements
IList.IsReadOnly
Declaration
bool IList.IsReadOnly { get; }
Returns
System.Boolean
|
Implements
IList.Item[Int32]
Declaration
object IList.this[] { get; set; }
Parameters
System.Int32
index
|
Returns
System.Object
|
Implements
IList.Remove(Object)
Declaration
void IList.Remove(object value)
Parameters
System.Object
value
|
Implements
IList.set_Item(Int32, Object)
Declaration
void IList.set_Item(int index, object value)
Parameters
System.Int32
index
|
System.Object
value
|