Class DrawingLayoutBox
Represents a drawing layout box in the RadRichTextBox.
Inherited Members
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public abstract class DrawingLayoutBox : InlineLayoutBox
Constructors
DrawingLayoutBox(DocumentElement, DocumentStructureCollection)
Declaration
public DrawingLayoutBox(DocumentElement parentElement, DocumentStructureCollection collection)
Parameters
DocumentElement
parentElement
|
DocumentStructureCollection
collection
|
Properties
CanCreateLayoutBoxesFromContent
Declaration
protected override bool CanCreateLayoutBoxesFromContent { get; }
Property Value
System.Boolean
|
Overrides
HasWidthAtTheEndOfLine
Determines whether the layout box has a width at the end of the line.
Declaration
public override bool HasWidthAtTheEndOfLine { get; }
Property Value
System.Boolean
|
Overrides
IsReadonly
Gets a value indicating whether the drawing layout box is read-only.
Declaration
public override bool IsReadonly { get; }
Property Value
System.Boolean
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
System.Boolean
|
Overrides
PositionsCountInBox
Gets the count of positions in the drawing layout box.
Declaration
public override int PositionsCountInBox { get; }
Property Value
System.Int32
|
Overrides
Text
Represents a layout box that contains text in a drawing.
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
Methods
CreateLayoutElement()
Creates a new layout element for the drawing layout box.
Declaration
public override LayoutElement CreateLayoutElement()
Returns
LayoutElement
A new instance of a layout element that represents the structure and properties of the drawing layout box. |
Overrides
CreateNewFragment(Single, Boolean)
Creates a new drawing fragment with the specified size and visibility.
Declaration
public override LayoutBox CreateNewFragment(float availableWidth, bool isFirstBoxInLine)
Parameters
System.Single
availableWidth
The width of the new fragment. |
System.Boolean
isFirstBoxInLine
Indicates whether the fragment should be visible. |
Returns
LayoutBox
A new instance of a drawing fragment. |