A control collection that can be set to read-only mode to prevent modifications.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class ReadOnlyControlCollection : Control.ControlCollection, IList, ICollection, IEnumerable, ICloneable
Inheritance: objectArrangedElementCollectionControl.ControlCollectionReadOnlyControlCollection
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the ReadOnlyControlCollection class.
Properties
public override bool IsReadOnly { get; }
Overrides:
Methods
Adds a control to the collection, throwing an exception if the collection is read-only.
public override void Add(Control value)
The control to add to the collection.
Exceptions:Thrown when the collection is read-only.
Overrides:
Adds a control to the collection without checking read-only status.
public virtual void AddInternal(Control value)
The control to add to the collection.
This method bypasses the read-only check and is used internally when controlled modifications are needed.
public override void Clear()
Overrides: