New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents a collection of layout columns within a page layout.

Definition

Namespace:Telerik.Web.UI.PageLayout

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class LayoutColumnCollection : BaseContainerCollection<LayoutColumn>, IList, ICollection, IStateManager, IList<LayoutColumn>, ICollection<LayoutColumn>, IEnumerable<LayoutColumn>, IEnumerable

Inheritance: objectStateManagedCollectionControlCollectionBaseBaseContainerCollection<LayoutColumn>LayoutColumnCollection

Implements: ICollectionICollection<LayoutColumn>IEnumerableIEnumerable<LayoutColumn>IListIList<LayoutColumn>IStateManager...

Inherited Members BaseContainerCollection<LayoutColumn>.OnInsertComplete(int, object)BaseContainerCollection<LayoutColumn>.IndexOf(LayoutColumn)BaseContainerCollection<LayoutColumn>.Insert(int, LayoutColumn)BaseContainerCollection<LayoutColumn>.RemoveAt(int)BaseContainerCollection<LayoutColumn>.Contains(LayoutColumn)BaseContainerCollection<LayoutColumn>.CopyTo(LayoutColumn[], int)BaseContainerCollection<LayoutColumn>.Remove(LayoutColumn)BaseContainerCollection<LayoutColumn>.GetEnumerator()BaseContainerCollection<LayoutColumn>.this[int]BaseContainerCollection<LayoutColumn>.IsReadOnlyControlCollectionBase.SetDirtyObject(object)ControlCollectionBase.ForEach(Action<Control>)ControlCollectionBase.ParentControlCollectionBase.ListStateManagedCollection.Clear()StateManagedCollection.CopyTo(Array, int)StateManagedCollection.CreateKnownType(int)StateManagedCollection.GetKnownTypes()StateManagedCollection.OnClear()StateManagedCollection.OnClearComplete()StateManagedCollection.OnValidate(object)StateManagedCollection.OnInsert(int, object)StateManagedCollection.OnRemove(int, object)StateManagedCollection.OnRemoveComplete(int, object)StateManagedCollection.SetDirty()StateManagedCollection.Countobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

Initializes a new instance of the LayoutColumnCollection class with the specified parent control.

C#
public LayoutColumnCollection(Control parent)
Parameters:parentControl

The parent control that owns this collection.

Methods

Adds a LayoutColumn to the collection and sets its HTML tag based on the parent control's tag name.

C#
public override void Add(LayoutColumn child)
Parameters:childLayoutColumn

The LayoutColumn to add to the collection.

Overrides: BaseContainerCollection<LayoutColumn>.Add(LayoutColumn)