Routes consumer-added control collection operations into the scrollable panel's content container while keeping the panel's internal container and scrollbars in the outer collection.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadScrollablePanelControlCollection : Control.ControlCollection, IList, ICollection, IEnumerable, ICloneable
Inheritance: objectArrangedElementCollectionControl.ControlCollectionRadScrollablePanelControlCollection
Derived Classes:
Implements:
Inherited Members
Constructors
Creates a collection that hosts user controls in the specified scrollable panel's content container.
public RadScrollablePanelControlCollection(RadScrollablePanel owner)
The panel whose hosted controls this collection manages.
Methods
Adds a non-internal control to the internal content container.
public override void Add(Control value)
The control to add.
Exceptions: InvalidOperationExceptionThe control is the panel's internal container or one of its scrollbars.
Overrides:
Removes all user controls from the internal content container without removing the panel's internal controls.
public override void Clear()
Overrides:
Gets a control's index from the outer collection for internal controls or from the content container for non-internal controls.
public override int GetChildIndex(Control value, bool throwException)
The control whose index is retrieved.
throwExceptionbooltrue to preserve the underlying collection's missing-control exception behavior.
Returns:The control's index in the collection that owns it.
Overrides:
Removes a non-internal control from the internal content container; internal panel controls are retained.
public override void Remove(Control value)
The control to remove.
Overrides:
Sets the index of an internal panel control in the outer collection or forwards a non-internal control to the content container.