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

Maintains layout items as controls are added to or removed from a RadLayoutControl.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

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

Inheritance: objectArrangedElementCollectionControl.ControlCollectionRadLayoutControlControlCollection

Implements: ICloneableICollectionIEnumerableIList

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

Constructors

Creates a control collection owned by the specified layout control.

C#
public RadLayoutControlControlCollection(RadLayoutControl owner)
Parameters:ownerRadLayoutControl

The layout control that owns this collection.

Methods

Adds a control and creates a corresponding layout item when one does not already exist. The draggable customization overlay is added without creating a layout item, and item creation is skipped during initialization.

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

The control to add.

Overrides: Control.ControlCollection.Add(Control)

Adds the control to the underlying collection without creating a LayoutControlItem for it.

C#
public void AddInternal(Control value)
Parameters:valueControl

The control to add.

Finds the item associated with a given control.

C#
public LayoutControlItem FindLayoutItem(Control control)
Parameters:controlControl

The control.

Returns:

LayoutControlItem

The associated item.

Removes a control and clears and disposes its associated layout item, if one exists.

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

The control to remove.

Overrides: Control.ControlCollection.Remove(Control)

Removes the control from the underlying collection without destroying its associated item.

C#
public void RemoveInternal(Control value)
Parameters:valueControl