ClassContextualTabGroupCollection
A collection that stores ContextualTabGroup objects.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ContextualTabGroupCollection : CollectionBase, IList, ICollection, IEnumerable
Inheritance: objectCollectionBaseContextualTabGroupCollection
Implements:
Inherited Members
Constructors
ContextualTabGroupCollection()
Initializes a new instance of the ContextualTabGroupCollection.
Declaration
public ContextualTabGroupCollection()
ContextualTabGroupCollection(ContextualTabGroupCollection)
Initializes a new instance of the ContextualTabGroupCollection based on another ContextualTabGroupCollection.
Declaration
public ContextualTabGroupCollection(ContextualTabGroupCollection value)
Parameters
value
A ContextualTabGroupCollection from which the contents are copied
ContextualTabGroupCollection(ContextualTabGroup[])
Initializes a new instance of the ContextualTabGroupCollection containing any array of ContextualTabGroup objects.
Declaration
public ContextualTabGroupCollection(ContextualTabGroup[] value)
Parameters
value
A array of ContextualTabGroup objects with which to intialize the collection
ContextualTabGroupCollection(RadElement)
Initializes a new instance of the ContextualTabGroupCollection.
Declaration
public ContextualTabGroupCollection(RadElement owner)
Parameters
owner
Properties
Owner
Gets or sets a value indicating the owner.
this[int]
Represents the entry at the specified index of the ContextualTabGroup.
Declaration
public ContextualTabGroup this[int index] { get; set; }
Parameters
index
The zero-based index of the entry to locate in the collection.
Property Value
The entry at the specified index of the collection.
Exceptions
index is outside the valid range of indexes for the collection.
Methods
Add(ContextualTabGroup)
Adds a ContextualTabGroup with the specified value to the ContextualTabGroupCollection .
Declaration
public int Add(ContextualTabGroup value)
Parameters
value
The ContextualTabGroup to add.
Returns
The index at which the new element was inserted.
AddRange(ContextualTabGroupCollection)
Adds the contents of another ContextualTabGroupCollection to the end of the collection.
Declaration
public void AddRange(ContextualTabGroupCollection value)
Parameters
value
A ContextualTabGroupCollection containing the objects to add to the collection.
AddRange(ContextualTabGroup[])
Copies the elements of an array to the end of the ContextualTabGroupCollection.
Declaration
public void AddRange(ContextualTabGroup[] value)
Parameters
value
An array of type ContextualTabGroup containing the objects to add to the collection.
Contains(ContextualTabGroup)
Gets a value indicating whether the ContextualTabGroupCollection contains the specified RibbonTab.
Declaration
public bool Contains(ContextualTabGroup value)
Parameters
value
The ContextualTabGroup to locate.
Returns
true if the ContextualTabGroup is contained in the collection; otherwise, false.
CopyTo(ContextualTabGroup[], int)
Copies the ContextualTabGroupCollection values to a one-dimensional Array instance at the specified index.
Declaration
public void CopyTo(ContextualTabGroup[] array, int index)
Parameters
array
The one-dimensional Array that is the destination of the values copied from ContextualTabGroupCollection .
index
The index in array where copying begins.
Exceptions
array is multidimensional.
-or-
The number of elements in the ContextualTabGroupCollection is greater than the available space to the end of array.
array is null.
GetEnumerator()
Returns an enumerator that can iterate through the ContextualTabGroupCollection .
Declaration
public ContextualTabGroupCollection.ContextualTabGroupEnumerator GetEnumerator()
Returns
ContextualTabGroupCollection.ContextualTabGroupEnumerator
None.
IndexOf(ContextualTabGroup)
Returns the index of a ContextualTabGroup in the ContextualTabGroupCollection .
Declaration
public int IndexOf(ContextualTabGroup value)
Parameters
value
The ContextualTabGroup to locate.
Returns
The index of the ContextualTabGroup of value in the
ContextualTabGroupCollection, if found; otherwise, -1.
Insert(int, ContextualTabGroup)
Inserts a RibbonTab into the ContextualTabGroupCollection at the specified index.
Declaration
public void Insert(int index, ContextualTabGroup value)
Parameters
index
The zero-based index where value should be inserted.
value
The ContextualTabGroup to insert.
Remove(ContextualTabGroup)
Removes a specific ContextualTabGroup from the ContextualTabGroupCollection .
Declaration
public void Remove(ContextualTabGroup value)
Parameters
value
The ContextualTabGroup to remove from the ContextualTabGroupCollection .
Exceptions
value is not found in the Collection.