Represents the layout box for annotation markers within the Telerik document model.
Definition
Namespace:Telerik.Windows.Documents.Layout
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class AnnotationMarkerLayoutBox : InlineLayoutBox
Inheritance: objectLayoutElementLayoutBoxInlineLayoutBoxAnnotationMarkerLayoutBox
Derived Classes:
Inherited Members
Constructors
public AnnotationMarkerLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection)
Properties
Gets the associated annotation marker for the layout box.
public AnnotationMarkerBase AssociatedAnnotationMarker { get; }
Gets the baseline offset for the annotation marker layout box.
public override float BaselineOffset { get; }
Overrides:
Gets a value indicating whether the annotation marker has a visual representation.
public override bool HasVisualRepresentation { get; }
Overrides:
Determines whether the annotation marker layout box has a width at the end of the line.
public override bool HasWidthAtTheEndOfLine { get; }
Overrides:
Gets a value indicating whether the annotation marker layout box is read-only.
public override bool IsReadonly { get; }
Overrides:
Gets a value indicating whether the annotation marker layout box can be split.
public override bool IsSplittable { get; }
Overrides:
Gets the count of positions within the annotation marker layout box.
public override int PositionsCountInBox { get; }
Overrides:
Methods
Creates a layout element for the annotation marker.
public override LayoutElement CreateLayoutElement()
A new instance of the layout element associated with the annotation marker.
Overrides:
Measures the space required by the LayoutElement Used by the layout system.
protected override SizeF MeasureOverride(SizeF availableSize)
The size that is available to the LayoutElement. The available size can be infinity (to take the full size of the element)
Returns:The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides:
In this method call to the Measure method of each child must be made.