Class
RadTabbedFormControlTabCollection

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadTabbedFormControlTabCollection : RadTabbedFormControlObject, IDisposable, IList, ICollection, IEnumerable

Inheritance: objectDisposableObjectRadTabbedFormControlObjectRadTabbedFormControlTabCollection

Implements: ICollectionIDisposableIEnumerableIList

Inherited Members RadTabbedFormControlObject.OwnerDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.PerformDispose(bool)DisposableObject.DisposeManagedResources()DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

RadTabbedFormControlTabCollection(RadTabbedFormControl)

Declaration

cs-api-definition
public RadTabbedFormControlTabCollection(RadTabbedFormControl owner)

Parameters

owner

RadTabbedFormControl

Properties

Count

Gets the number of elements in the collection.

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

Implements ICollection.Count

this[int]

Indicates the System.Windows.Forms.Control at the specified indexed location in the collection.

Declaration

cs-api-definition
public RadTabbedFormControlTab this[int index] { get; set; }

Parameters

index

int

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.

this[string]

Indicates a RadTabbedFormControlTab with the specified name in the collection.

Declaration

cs-api-definition
public RadTabbedFormControlTab this[string name] { get; }

Parameters

name

string

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

cs-api-definition
public void Add(RadTabbedFormControlTab item)

Parameters

item

RadTabbedFormControlTab

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

cs-api-definition
public void ChangeIndex(RadTabbedFormControlTab tab, int newIndex)

Parameters

tab

RadTabbedFormControlTab

newIndex

int

Clear()

Removes all tabs from the collection.

Declaration

cs-api-definition
public void Clear()

Implements IList.Clear()

Contains(RadTabbedFormControlTab)

Checks for a particular tab if it is part of the collection.

Declaration

cs-api-definition
public bool Contains(RadTabbedFormControlTab item)

Parameters

item

RadTabbedFormControlTab

The RadTabbedFormControlTab to check if contained.

Returns

bool

True if the collection contains the tab; otherwise false.

Contains(string)

Checks by name if a particular tab is part of the collection.

Declaration

cs-api-definition
public bool Contains(string name)

Parameters

name

string

The name to check the collection. Performs case insensitive "Contains".

Returns

bool

True if the collection contains the name; otherwise false.

Contains(string, bool)

Checks by name if a particular tab is part of the collection.

Declaration

cs-api-definition
public bool Contains(string name, bool ignoreCase)

Parameters

name

string

The name to check the collection.

ignoreCase

bool

Specifies whether the casing will be ignored.

Returns

bool

True if the collection contains the name; otherwise false.

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

cs-api-definition
public void CopyTo(RadTabbedFormControlTab[] array, int arrayIndex)

Parameters

array

RadTabbedFormControlTab[]

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

int

The zero-based index in array at which copying begins.

GetEnumerator()

Declaration

cs-api-definition
public IEnumerator<RadTabbedFormControlTab> GetEnumerator()

Returns

IEnumerator<RadTabbedFormControlTab>

IndexOf(RadTabbedFormControlTab)

Retrieves the index of the specified tab in the tabs collection.

Declaration

cs-api-definition
public int IndexOf(RadTabbedFormControlTab item)

Parameters

item

RadTabbedFormControlTab

The RadTabbedFormControlTab to locate in the collection.

Returns

int

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

cs-api-definition
public void Insert(int index, RadTabbedFormControlTab item)

Parameters

index

int

The index at which the RadTabbedFormControlTab will be inserted.

item

RadTabbedFormControlTab

The RadTabbedFormControlTab to be inserted in the collection.

Remove(RadTabbedFormControlTab)

Removes the specified tab from the tabs collection.

Declaration

cs-api-definition
public bool Remove(RadTabbedFormControlTab item)

Parameters

item

RadTabbedFormControlTab

The RadTabbedFormControlTab to remove from the RadTabbedFormControlCollection.

Returns

bool

RemoveAt(int)

Removes a RadTabbedFormControlTab from the collection at the specified indexed location.

Declaration

cs-api-definition
public void RemoveAt(int index)

Parameters

index

int

The index value of the RadTabbedFormControlTab to remove.

Implements IList.RemoveAt(int)

Swap(RadTabbedFormControlTab, RadTabbedFormControlTab)

Swaps the positions of the two tabs inside the RadTabbedFormControlCollection.

Declaration

cs-api-definition
public void Swap(RadTabbedFormControlTab tab1, RadTabbedFormControlTab tab2)

Parameters

tab1

RadTabbedFormControlTab

tab2

RadTabbedFormControlTab