Class AnnotationMarkerLayoutBox
Represents the layout box for annotation markers within the Telerik document model.
Inherited Members
Namespace: Telerik.Windows.Documents.Layout
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class AnnotationMarkerLayoutBox : InlineLayoutBox
Constructors
AnnotationMarkerLayoutBox(DocumentElement, DocumentStructureCollection)
Declaration
public AnnotationMarkerLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection)
Parameters
DocumentElement
associatedDocumentElement
|
DocumentStructureCollection
collection
|
Properties
AssociatedAnnotationMarker
Gets the associated annotation marker for the layout box.
Declaration
public AnnotationMarkerBase AssociatedAnnotationMarker { get; }
Property Value
AnnotationMarkerBase
|
BaselineOffset
Gets the baseline offset for the annotation marker layout box.
Declaration
public override float BaselineOffset { get; }
Property Value
System.Single
|
Overrides
HasVisualRepresentation
Gets a value indicating whether the annotation marker has a visual representation.
Declaration
public override bool HasVisualRepresentation { get; }
Property Value
System.Boolean
|
Overrides
HasWidthAtTheEndOfLine
Determines whether the annotation marker 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 annotation marker layout box is read-only.
Declaration
public override bool IsReadonly { get; }
Property Value
System.Boolean
|
Overrides
IsSplittable
Gets a value indicating whether the annotation marker layout box can be split.
Declaration
public override bool IsSplittable { get; }
Property Value
System.Boolean
|
Overrides
PositionsCountInBox
Gets the count of positions within the annotation marker layout box.
Declaration
public override int PositionsCountInBox { get; }
Property Value
System.Int32
|
Overrides
Text
Gets or sets the text associated with the annotation marker layout box.
Declaration
public override string Text { get; set; }
Property Value
System.String
The text as a string. |
Overrides
Methods
CreateLayoutElement()
Creates a layout element for the annotation marker.
Declaration
public override LayoutElement CreateLayoutElement()
Returns
LayoutElement
A new instance of the layout element associated with the annotation marker. |
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
SizeF
availableSize
|
Returns
SizeF
|