New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinForms.Documents.Layout

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public class LayoutElementCollection : LayoutElementCollectionBase, ILinkedListCollection<LayoutElement>, IEnumerable

Inheritance: objectLayoutElementCollectionBaseLayoutElementCollection

Implements: IEnumerableILinkedListCollection<LayoutElement>

Inherited Members LayoutElementCollectionBase.boxesCollectionLayoutElementCollectionBase.parentLayoutBoxLayoutElementCollectionBase.CheckForLeafLayoutBoxCollection()

Constructors

C#
public LayoutElementCollection(DocumentStructureCollection boxesCollection, LayoutElement parentLayoutBox)
Parameters:boxesCollectionDocumentStructureCollectionparentLayoutBoxLayoutElement

Properties

C#
public int Count { get; }
C#
public LayoutBox First { get; }
C#
public bool HasChildren { get; }
C#
public bool IsReadOnly { get; }
C#
public LayoutBox Last { get; }

Methods

C#
public void Add(LayoutBox item)
Parameters:itemLayoutBox
C#
public void AddLeafChildBox(LayoutBox currentLayoutBox, LayoutBox newLayoutBox)
Parameters:currentLayoutBoxLayoutBoxnewLayoutBoxLayoutBox
C#
public void Clear()
C#
public bool Contains(LayoutBox item)
Parameters:itemLayoutBoxReturns:

bool

C#
public void CopyTo(LayoutBox[] array, int arrayIndex)
Parameters:arrayLayoutBox[]arrayIndexint
C#
public IEnumerator<LayoutBox> GetEnumerator()
Returns:

IEnumerator<LayoutBox>

C#
public bool Remove(LayoutBox item)
Parameters:itemLayoutBoxReturns:

bool

C#
public void RemoveLast()