ClassDrawingLayoutBox
Represents a drawing layout box in the RadRichTextBox.
Definition
Namespace:Telerik.Windows.Documents.Layout
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public abstract class DrawingLayoutBox : InlineLayoutBox
Inheritance: objectLayoutElementLayoutBoxInlineLayoutBoxDrawingLayoutBox
Derived Classes:
Inherited Members
Constructors
DrawingLayoutBox(DocumentElement, DocumentStructureCollection)
Declaration
public DrawingLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
Parameters
parentElement
collection
Properties
CanCreateLayoutBoxesFromContent
Declaration
protected override bool CanCreateLayoutBoxesFromContent { get; }
Property Value
Overrides
HasWidthAtTheEndOfLine
Determines whether the layout box has a width at the end of the line.
Declaration
public override bool HasWidthAtTheEndOfLine { get; }
Property Value
Overrides
IsReadonly
Gets a value indicating whether the drawing layout box is read-only.
Declaration
public override bool IsReadonly { get; }
Property Value
True if the drawing layout box is read-only; otherwise, false.
Overrides
IsSplittable
Gets a value indicating whether the drawing layout box can be split.
Declaration
public override bool IsSplittable { get; }
Property Value
Overrides
PositionsCountInBox
Gets the count of positions in the drawing layout box.
Declaration
public override int PositionsCountInBox { get; }
Property Value
Overrides
Methods
CreateLayoutElement()
Creates a new layout element for the drawing layout box.
Declaration
public override LayoutElement CreateLayoutElement()
Returns
A new instance of a layout element that represents the structure and properties of the drawing layout box.
Overrides
CreateNewFragment(float, bool)
Creates a new drawing fragment with the specified size and visibility.
Declaration
public override LayoutBox CreateNewFragment(float availableWidth, bool isFirstBoxInLine)
Parameters
availableWidth
The width of the new fragment.
isFirstBoxInLine
Indicates whether the fragment should be visible.
Returns
A new instance of a drawing fragment.
Overrides