InlineLayoutBox
Represents an inline layout box in the Telerik document model. This class is used to manage the layout and rendering of inline elements within a document, ensuring proper positioning and formatting.
Definition
Namespace:Telerik.Windows.Documents.Layout
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public abstract class InlineLayoutBox : LayoutBox
Inheritance: objectLayoutElementLayoutBoxInlineLayoutBox
Derived Classes:
Inherited Members
Constructors
public InlineLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection, bool isFragment)
public InlineLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection)
public InlineLayoutBox(DocumentElement associatedDocumentElement)
Properties
Gets the inline element associated with the layout box.
public Inline AssociatedInline { get; }
Gets the baseline offset of the inline layout box.
public abstract float BaselineOffset { get; }
Gets a value indicating whether the inline layout box has a specified width at the end of the line.
public abstract bool HasWidthAtTheEndOfLine { get; }
Gets a value indicating whether this instance is a container box.
public override bool IsContainerBox { get; }
true if this instance is a container box; otherwise, false.
Overrides:
Gets a value indicating whether the inline layout box is read-only.
public abstract bool IsReadonly { get; }
Gets a value indicating whether the layout box is rendered in right-to-left (RTL) orientation.
public bool IsRtl { get; }
True if the layout box is rendered in RTL orientation; otherwise, false.
Gets a value indicating whether the layout box can be split across multiple pages or sections.
public abstract bool IsSplittable { get; }
Indicates whether the layout box is the start of a line segment.
public bool IsStartOfLineSegment { get; }
Represents the line information for an inline layout box in the Telerik RadRichTextBox.
public ParagraphLineInfo LineInfo { get; }
Represents information about a line segment in the inline layout box.
public ParagraphLineSegmentInfo LineSegmentInfo { get; }
Gets the number of positions contained within the inline layout box.
public abstract int PositionsCountInBox { get; }
Methods
Creates a new fragment with the specified width and visibility.
Retrieves the position of the inline layout box.
public override PositionHandler GetPositionHandler()
The position of the inline layout box as a Point structure.
Overrides:
Merges the current InlineLayoutBox with the next LayoutBox if they are compatible.
public override void MergeWithNext(LayoutBox nextSpanBox)
Overrides:
Removes the current inline layout box from its parent container.
public void Remove()