New to Telerik UI for WinForms? Start a free 30-day trial

Manages the child controls of a RadTabbedFormControl and coordinates tab collection events.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadTabbedFormControlCollection : Control.ControlCollection, IList, ICollection, IEnumerable, ICloneable

Inheritance: objectArrangedElementCollectionControl.ControlCollectionRadTabbedFormControlCollection

Implements: ICloneableICollectionIEnumerableIList

Inherited Members ArrangedElementCollection.Equals(object)ArrangedElementCollection.GetHashCode()ArrangedElementCollection.CopyTo(Array, int)ArrangedElementCollection.GetEnumerator()ArrangedElementCollection.IsReadOnlyArrangedElementCollection.Count...

Constructors

Initializes the child-control collection for the specified tabbed form control.

C#
public RadTabbedFormControlCollection(RadTabbedFormControl owner)
Parameters:ownerRadTabbedFormControl

The control whose child controls are managed by this collection.

Methods

Adds a tab and raises TabAdding before TabAdded. The adding event can cancel the operation.

C#
public override void Add(Control value)
Parameters:valueControl

The tab to add.

Overrides: Control.ControlCollection.Add(Control)

Removes all tabs after the TabsClearing event accepts the operation, then raises TabsCleared.

C#
public override void Clear()

Overrides: Control.ControlCollection.Clear()

Removes a tab and raises TabRemoving before TabRemoved; the removing event can cancel the operation.

C#
public override void Remove(Control value)
Parameters:valueControl

The tab to remove.

Overrides: Control.ControlCollection.Remove(Control)

Changes a tab's position when tab index changes have been enabled by the owning control. Raises the index-changing event before applying the change and the index-changed event afterward.

C#
public override void SetChildIndex(Control child, int newIndex)
Parameters:childControl

The tab whose position should change.

newIndexint

The zero-based position to assign to the tab.

Overrides: Control.ControlCollection.SetChildIndex(Control, int)