Class
ContainerControlBase.ContainerTypedControlCollection

Definition

Namespace:Telerik.WinControls.Containers

Assembly:Telerik.WinControls.dll

Syntax:

cs-api-definition
public class ContainerControlBase.ContainerTypedControlCollection : ReadOnlyControlCollection, IList, ICollection, IEnumerable, ICloneable

Inheritance: objectArrangedElementCollectionControl.ControlCollectionReadOnlyControlCollectionContainerControlBase.ContainerTypedControlCollection

Implements: ICloneableICollectionIEnumerableIList

Inherited Members ReadOnlyControlCollection.AddInternal(Control)ReadOnlyControlCollection.Clear()ReadOnlyControlCollection.RemoveByKey(string)ReadOnlyControlCollection.RemoveInternal(Control)ReadOnlyControlCollection.IsReadOnlyControl.ControlCollection.ContainsKey(string)Control.ControlCollection.AddRange(Control[])Control.ControlCollection.Contains(Control)Control.ControlCollection.Find(string, bool)Control.ControlCollection.GetEnumerator()Control.ControlCollection.IndexOf(Control)Control.ControlCollection.IndexOfKey(string)Control.ControlCollection.RemoveAt(int)Control.ControlCollection.GetChildIndex(Control)Control.ControlCollection.GetChildIndex(Control, bool)Control.ControlCollection.OwnerControl.ControlCollection.this[int]Control.ControlCollection.this[string]ArrangedElementCollection.Equals(object)ArrangedElementCollection.GetHashCode()ArrangedElementCollection.CopyTo(Array, int)ArrangedElementCollection.Count

Constructors

ContainerTypedControlCollection(Control, bool)

Declaration

cs-api-definition
public ContainerTypedControlCollection(Control control, bool isReadOnly)

Parameters

control

Control

isReadOnly

bool

Methods

Add(Control)

Adds a control to the collection, throwing an exception if the collection is read-only.

Declaration

cs-api-definition
public override void Add(Control value)

Parameters

value

Control

The control to add to the collection.

Exceptions

NotSupportedException

Thrown when the collection is read-only.

Overrides ReadOnlyControlCollection.Add(Control)

Remove(Control)

Declaration

cs-api-definition
public override void Remove(Control value)

Parameters

value

Control

Overrides Control.ControlCollection.Remove(Control)

SetChildIndex(Control, int)

Declaration

cs-api-definition
public override void SetChildIndex(Control child, int newIndex)

Parameters

child

Control

newIndex

int

Overrides Control.ControlCollection.SetChildIndex(Control, int)

ValidateType(Type)

Declaration

cs-api-definition
public void ValidateType(Type type)

Parameters

type

Type