Base collection that maps layout-element collection operations to a document structure tree.
Definition
Namespace:Telerik.WinForms.Documents.Layout
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public abstract class LayoutElementCollectionBase : ILinkedListCollection<LayoutElement>, IEnumerable
Inheritance: objectLayoutElementCollectionBase
Derived Classes:
Implements:
Constructors
Initializes a collection view over the children of the specified layout element.
C#
public LayoutElementCollectionBase(DocumentStructureCollection boxesCollection, LayoutElement parentLayoutBox)
The document structure collection that stores the boxes.
parentLayoutBoxLayoutElementThe layout box whose children are exposed.
Fields
Stores the document structure collection that owns the layout boxes.
C#
protected DocumentStructureCollection boxesCollection
Stores the layout box whose children this collection exposes, or null for an empty leaf collection.
C#
protected LayoutBox parentLayoutBox
Methods
Ensures that this collection has a parent box before performing an operation that requires one.
C#
protected void CheckForLeafLayoutBoxCollection()
The collection has no parent box.