Class
LayoutElementCollection

Definition

Namespace:Telerik.WinForms.Documents.Layout

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

cs-api-definition
public class LayoutElementCollection : LayoutElementCollectionBase, ILinkedListCollection<LayoutElement>, IEnumerable

Inheritance: objectLayoutElementCollectionBaseLayoutElementCollection

Implements: IEnumerableILinkedListCollection<LayoutElement>

Inherited Members LayoutElementCollectionBase.boxesCollectionLayoutElementCollectionBase.parentLayoutBoxLayoutElementCollectionBase.CheckForLeafLayoutBoxCollection()

Constructors

LayoutElementCollection(DocumentStructureCollection, LayoutElement)

Declaration

cs-api-definition
public LayoutElementCollection(DocumentStructureCollection boxesCollection, LayoutElement parentLayoutBox)

Parameters

boxesCollection

DocumentStructureCollection

parentLayoutBox

LayoutElement

Properties

Count

Declaration

cs-api-definition
public int Count { get; }

Property Value

int

First

Declaration

cs-api-definition
public LayoutBox First { get; }

Property Value

LayoutBox

HasChildren

Declaration

cs-api-definition
public bool HasChildren { get; }

Property Value

bool

IsReadOnly

Declaration

cs-api-definition
public bool IsReadOnly { get; }

Property Value

bool

Last

Declaration

cs-api-definition
public LayoutBox Last { get; }

Property Value

LayoutBox

Methods

Add(LayoutBox)

Declaration

cs-api-definition
public void Add(LayoutBox item)

Parameters

item

LayoutBox

AddLeafChildBox(LayoutBox, LayoutBox)

Declaration

cs-api-definition
public void AddLeafChildBox(LayoutBox currentLayoutBox, LayoutBox newLayoutBox)

Parameters

currentLayoutBox

LayoutBox

newLayoutBox

LayoutBox

Clear()

Declaration

cs-api-definition
public void Clear()

Contains(LayoutBox)

Declaration

cs-api-definition
public bool Contains(LayoutBox item)

Parameters

item

LayoutBox

Returns

bool

CopyTo(LayoutBox[], int)

Declaration

cs-api-definition
public void CopyTo(LayoutBox[] array, int arrayIndex)

Parameters

array

LayoutBox[]

arrayIndex

int

GetEnumerator()

Declaration

cs-api-definition
public IEnumerator<LayoutBox> GetEnumerator()

Returns

IEnumerator<LayoutBox>

Remove(LayoutBox)

Declaration

cs-api-definition
public bool Remove(LayoutBox item)

Parameters

item

LayoutBox

Returns

bool

RemoveLast()

Declaration

cs-api-definition
public void RemoveLast()