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
Initializes a new instance of the ContextualTabGroupCollection.
public ContextualTabGroupCollection()
Initializes a new instance of the ContextualTabGroupCollection containing any array of ContextualTabGroup objects.
public ContextualTabGroupCollection(ContextualTabGroup[] value)
A array of ContextualTabGroup objects with which to intialize the collection
Initializes a new instance of the ContextualTabGroupCollection based on another ContextualTabGroupCollection.
public ContextualTabGroupCollection(ContextualTabGroupCollection value)
A ContextualTabGroupCollection from which the contents are copied
Initializes a new instance of the ContextualTabGroupCollection.
Properties
Gets or sets a value indicating the owner.
public RadElement Owner { get; set; }
Represents the entry at the specified index of the ContextualTabGroup.
public ContextualTabGroup this[int index] { get; set; }
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
Adds a ContextualTabGroup with the specified value to the ContextualTabGroupCollection .
public int Add(ContextualTabGroup value)
The ContextualTabGroup to add.
Returns:The index at which the new element was inserted.
Copies the elements of an array to the end of the ContextualTabGroupCollection.
public void AddRange(ContextualTabGroup[] value)
An array of type ContextualTabGroup containing the objects to add to the collection.
Adds the contents of another ContextualTabGroupCollection to the end of the collection.
public void AddRange(ContextualTabGroupCollection value)
A ContextualTabGroupCollection containing the objects to add to the collection.
Gets a value indicating whether the ContextualTabGroupCollection contains the specified RibbonTab.
public bool Contains(ContextualTabGroup value)
The ContextualTabGroup to locate.
Returns:true if the ContextualTabGroup is contained in the collection; otherwise, false.
Copies the ContextualTabGroupCollection values to a one-dimensional Array instance at the specified index.
public void CopyTo(ContextualTabGroup[] array, int index)
The one-dimensional Array that is the destination of the values copied from ContextualTabGroupCollection .
indexintThe index in array where copying begins.
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.
Returns an enumerator that can iterate through the ContextualTabGroupCollection .
public ContextualTabGroupCollection.ContextualTabGroupEnumerator GetEnumerator()
ContextualTabGroupCollection.ContextualTabGroupEnumerator
None.
Returns the index of a ContextualTabGroup in the ContextualTabGroupCollection .
public int IndexOf(ContextualTabGroup value)
The ContextualTabGroup to locate.
Returns:The index of the ContextualTabGroup of value in the
ContextualTabGroupCollection, if found; otherwise, -1.
Inserts a RibbonTab into the ContextualTabGroupCollection at the specified index.
public void Insert(int index, ContextualTabGroup value)
The zero-based index where value should be inserted.
The ContextualTabGroup to insert.
Removes a specific ContextualTabGroup from the ContextualTabGroupCollection .
public void Remove(ContextualTabGroup value)
The ContextualTabGroup to remove from the ContextualTabGroupCollection .
Exceptions:value is not found in the Collection.