Class
LayoutElementCollection

Definition

Namespace:Telerik.WinForms.Documents.Layout

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

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

Inheritance: objectLayoutElementCollectionBaseLayoutElementCollection

Implements: ICollection<LayoutBox>ICollection<LayoutElement>IEnumerableIEnumerable<LayoutBox>IEnumerable<LayoutElement>ILinkedListCollection<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

Implements ICollection<LayoutBox>.Count

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

Implements ICollection<LayoutBox>.IsReadOnly

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

Implements ICollection<LayoutBox>.Add(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()

Implements ICollection<LayoutBox>.Clear()

Contains(LayoutBox)

Declaration

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

Parameters

item

LayoutBox

Returns

bool

Implements ICollection<LayoutBox>.Contains(LayoutBox)

CopyTo(LayoutBox[], int)

Declaration

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

Parameters

array

LayoutBox[]

arrayIndex

int

Implements ICollection<LayoutBox>.CopyTo(LayoutBox[], int)

GetEnumerator()

Declaration

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

Returns

IEnumerator<LayoutBox>

Implements IEnumerable<LayoutBox>.GetEnumerator()

Remove(LayoutBox)

Declaration

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

Parameters

item

LayoutBox

Returns

bool

Implements ICollection<LayoutBox>.Remove(LayoutBox)

RemoveLast()

Declaration

cs-api-definition
public void RemoveLast()