ClassDocumentStructureCollection
Definition
Namespace:Telerik.WinForms.Documents.DocumentStructure
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class DocumentStructureCollection
Inheritance: objectDocumentStructureCollection
Constructors
DocumentStructureCollection(LayoutBox)
Declaration
public DocumentStructureCollection(LayoutBox rootBox)
Parameters
rootBox
DocumentStructureCollection(LayoutElement)
Declaration
public DocumentStructureCollection(LayoutElement layoutElement)
Parameters
layoutElement
Properties
EnumerationStack
Declaration
public BoxParentsStack EnumerationStack { get; }
Property Value
Methods
ClearChildren(LayoutBox)
Declaration
public void ClearChildren(LayoutBox layoutBoxParent)
Parameters
layoutBoxParent
GetNextAssociatedLayoutBox(LayoutBox, DocumentElement)
Declaration
public static LayoutBox GetNextAssociatedLayoutBox(LayoutBox box, DocumentElement associatedDocumentElement)
Parameters
box
associatedDocumentElement
Returns
GetNextSiblingForDocumentElement(LayoutBox, DocumentElement)
Declaration
public static LayoutBox GetNextSiblingForDocumentElement(LayoutBox box, DocumentElement owner)
Parameters
box
owner
Returns
GetNextSiblingForDocumentElementOnSameLevel(LayoutBox, DocumentElement)
Declaration
public static LayoutBox GetNextSiblingForDocumentElementOnSameLevel(LayoutBox box, DocumentElement owner)
Parameters
box
owner
Returns
GetPreviousSiblingForDocumentElement(LayoutBox, DocumentElement)
Declaration
public static LayoutBox GetPreviousSiblingForDocumentElement(LayoutBox box, DocumentElement owner)
Parameters
box
owner
Returns
GetPreviousSiblingForDocumentElementOnSamelevel(LayoutBox, DocumentElement)
Declaration
public static LayoutBox GetPreviousSiblingForDocumentElementOnSamelevel(LayoutBox box, DocumentElement owner)
Parameters
box
owner
Returns
MergeContainers()
Declaration
public void MergeContainers()
MergeContainers(LayoutBox)
Declaration
public void MergeContainers(LayoutBox fromBox)
Parameters
fromBox
MergeLongWords(ParagraphLayoutBox)
Declaration
public void MergeLongWords(ParagraphLayoutBox paragraphLayoutBox)
Parameters
paragraphLayoutBox
MergeLongWordsFromBox(InlineLayoutBox, DocumentElement)
Declaration
public void MergeLongWordsFromBox(InlineLayoutBox layoutBox, DocumentElement associatedDocumentElement)
Parameters
layoutBox
associatedDocumentElement
MergeTableRowBoxes(TableRowLayoutBox, TableRowLayoutBox)
Declaration
public void MergeTableRowBoxes(TableRowLayoutBox firstRow, TableRowLayoutBox secondRow)
Parameters
firstRow
secondRow
RemoveLastChild(LayoutBox)
Declaration
public void RemoveLastChild(LayoutBox parent)
Parameters
parent
RemoveLeafSiblingAfter(LayoutBox)
Declaration
public void RemoveLeafSiblingAfter(LayoutBox layoutBox)
Parameters
layoutBox
ReplaceLayoutBox(LayoutBox, SpanLayoutBox)
Declaration
public static void ReplaceLayoutBox(LayoutBox boxWithNodeToUpdate, SpanLayoutBox newNodeValue)
Parameters
boxWithNodeToUpdate
newNodeValue