New to Telerik UI for WinFormsStart a free 30-day trial

A collection that stores ContextualTabGroup objects.

Definition

Constructors

Initializes a new instance of the ContextualTabGroupCollection.

C#
public ContextualTabGroupCollection()

Initializes a new instance of the ContextualTabGroupCollection containing any array of ContextualTabGroup objects.

C#
public ContextualTabGroupCollection(ContextualTabGroup[] value)
Parameters:valueContextualTabGroup[]

A array of ContextualTabGroup objects with which to intialize the collection

Initializes a new instance of the ContextualTabGroupCollection based on another ContextualTabGroupCollection.

C#
public ContextualTabGroupCollection(ContextualTabGroupCollection value)
Parameters:valueContextualTabGroupCollection

A ContextualTabGroupCollection from which the contents are copied

Initializes a new instance of the ContextualTabGroupCollection.

C#
public ContextualTabGroupCollection(RadElement owner)
Parameters:ownerRadElement

Properties

Gets or sets a value indicating the owner.

C#
public RadElement Owner { get; set; }

Represents the entry at the specified index of the ContextualTabGroup.

C#
public ContextualTabGroup this[int index] { get; set; }
Parameters:indexint

The zero-based index of the entry to locate in the collection.

Property Value:

The entry at the specified index of the collection.

Exceptions:

ArgumentOutOfRangeException

index is outside the valid range of indexes for the collection.

Methods

Adds a ContextualTabGroup with the specified value to the ContextualTabGroupCollection .

C#
public int Add(ContextualTabGroup value)
Parameters:valueContextualTabGroup

The ContextualTabGroup to add.

Returns:

int

The index at which the new element was inserted.

Copies the elements of an array to the end of the ContextualTabGroupCollection.

C#
public void AddRange(ContextualTabGroup[] value)
Parameters:valueContextualTabGroup[]

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.

C#
public void AddRange(ContextualTabGroupCollection value)
Parameters:valueContextualTabGroupCollection

A ContextualTabGroupCollection containing the objects to add to the collection.

Gets a value indicating whether the ContextualTabGroupCollection contains the specified RibbonTab.

C#
public bool Contains(ContextualTabGroup value)
Parameters:valueContextualTabGroup

The ContextualTabGroup to locate.

Returns:

bool

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.

C#
public void CopyTo(ContextualTabGroup[] array, int index)
Parameters:arrayContextualTabGroup[]

The one-dimensional Array that is the destination of the values copied from ContextualTabGroupCollection .

indexint

The index in array where copying begins.

Exceptions:

ArgumentException

array is multidimensional.

-or-

The number of elements in the ContextualTabGroupCollection is greater than the available space to the end of array.

ArgumentNullException

array is null.

Returns an enumerator that can iterate through the ContextualTabGroupCollection .

C#
public ContextualTabGroupCollection.ContextualTabGroupEnumerator GetEnumerator()
Returns:

ContextualTabGroupCollection.ContextualTabGroupEnumerator

None.

Returns the index of a ContextualTabGroup in the ContextualTabGroupCollection .

C#
public int IndexOf(ContextualTabGroup value)
Parameters:valueContextualTabGroup

The ContextualTabGroup to locate.

Returns:

int

The index of the ContextualTabGroup of value in the ContextualTabGroupCollection, if found; otherwise, -1.

Inserts a RibbonTab into the ContextualTabGroupCollection at the specified index.

C#
public void Insert(int index, ContextualTabGroup value)
Parameters:indexint

The zero-based index where value should be inserted.

valueContextualTabGroup

The ContextualTabGroup to insert.

Removes a specific ContextualTabGroup from the ContextualTabGroupCollection .

C#
public void Remove(ContextualTabGroup value)
Parameters:valueContextualTabGroup

The ContextualTabGroup to remove from the ContextualTabGroupCollection .

Exceptions:

ArgumentException

value is not found in the Collection.