Class LayoutElementCollection
Inherited Members
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class LayoutElementCollection : LayoutElementCollectionBase, ILinkedListCollection<LayoutElement>, ICollection<LayoutElement>, IEnumerable<LayoutElement>, ICollection<LayoutBox>, IEnumerable<LayoutBox>, IEnumerable
Constructors
LayoutElementCollection(DocumentStructureCollection, LayoutElement)
Declaration
public LayoutElementCollection(DocumentStructureCollection boxesCollection, LayoutElement parentLayoutBox)
Parameters
DocumentStructureCollection
boxesCollection
|
LayoutElement
parentLayoutBox
|
Properties
Count
Declaration
public int Count { get; }
Property Value
System.Int32
|
First
HasChildren
Declaration
public bool HasChildren { get; }
Property Value
System.Boolean
|
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean
|
Last
Methods
Add(LayoutBox)
AddLeafChildBox(LayoutBox, LayoutBox)
Declaration
public void AddLeafChildBox(LayoutBox currentLayoutBox, LayoutBox newLayoutBox)
Parameters
LayoutBox
currentLayoutBox
|
LayoutBox
newLayoutBox
|
Clear()
Declaration
public void Clear()
Contains(LayoutBox)
CopyTo(LayoutBox[], Int32)
Declaration
public void CopyTo(LayoutBox[] array, int arrayIndex)
Parameters
LayoutBox[]
array
|
System.Int32
arrayIndex
|
GetEnumerator()
Declaration
public IEnumerator<LayoutBox> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<LayoutBox>
|
Remove(LayoutBox)
RemoveLast()
Declaration
public void RemoveLast()