SdtEndLayoutBox
Represents the end marker of a structured document tag and maintains its last block-child association during layout reparenting.
Definition
Namespace:Telerik.WinForms.Documents.Layout
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class SdtEndLayoutBox : AnnotationMarkerLayoutBox, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectLayoutElementLayoutBoxInlineLayoutBoxAnnotationMarkerLayoutBoxSdtEndLayoutBox...
Implements:
Inherited Members
Constructors
Creates a structured document tag end-marker box.
public SdtEndLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection)
The structured document tag end represented by the box.
collectionDocumentStructureCollectionThe document structure collection that owns the box.
Properties
Gets the structured document tag end represented by this box, or null if its document element has another type.
public SdtRangeEnd AssociatedSdtEnd { get; }
Methods
Updates the last block-child association when a block-level tag's paragraph is reparented. If the same paragraph remains and a following sibling is neither an annotation marker nor a paragraph symbol, detaches that association. Inline-level tags do not use this block-child tracking.
protected override void SetParent(LayoutElement oldParent, LayoutElement newParent)
The layout element that previously contained this box.
newParentLayoutElementThe layout element that will contain this box.
Overrides: