New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class AnnotationMarkerLayoutBox : InlineLayoutBox

Inheritance: objectLayoutElementLayoutBoxInlineLayoutBoxAnnotationMarkerLayoutBox

Derived Classes: FloatingBlockLayoutBoxNoteStartMarkerLayoutBoxSdtEndLayoutBoxSdtStartLayoutBox

Inherited Members InlineLayoutBox.Remove()InlineLayoutBox.MergeWithNext(LayoutBox)InlineLayoutBox.CreateNewFragment(float, bool)InlineLayoutBox.GetPositionHandler()InlineLayoutBox.LineInfoInlineLayoutBox.LineSegmentInfoInlineLayoutBox.IsRtlInlineLayoutBox.IsContainerBoxInlineLayoutBox.AssociatedInlineInlineLayoutBox.IsStartOfLineSegmentLayoutBox.currentYLayoutBox.AssociatedLayoutBoxPropertyLayoutBox.NodeLayoutBox.GetAssociatedLayoutBox(UIElement)LayoutBox.SetAssociatedLayoutBox(UIElement, LayoutBox)LayoutBox.OnElementStructureChanging()LayoutBox.OnElementStructureChanged()LayoutBox.OnAssociateDocumentElementChanged()LayoutBox.CreateChildrenCollection(DocumentStructureCollection)LayoutBox.ToString()LayoutBox.InvalidateMeasureUpToTheRoot()LayoutBox.InvalidateMeasureUpToTheRootStable()LayoutBox.InvalidateArrangeUpToTheRoot()LayoutBox.InvalidateLayoutAfterEdit()LayoutBox.ValidateChild(LayoutBox)LayoutBox.GetRootDocument()LayoutBox.CanGrowVerticallyOverride(float)LayoutBox.CanGrowVertically(float)LayoutBox.GetBoxDesiredGrow()LayoutBox.CreateNewFragment(LayoutBox)LayoutBox.InvalidateMeasure()LayoutBox.IsRemovedLayoutBox.IsFragmentLayoutBox.AssociatedDocumentElementLayoutBox.ChildLayoutBoxesLayoutBox.IsFormattingSymbolLayoutBox.BoundsChildBoxesLayoutBox.IsFirstBoxLayoutBox.IsLastBoxLayoutBox.IsFirstChildLayoutBox.IsLastChildLayoutBox.IsValidPositionLayoutBox.ParentLayoutBox.ChildIndexLayoutBox.BoundingRectangleLayoutBox.CanCreateLayoutBoxesFromContentLayoutBox.ElementStructureChangingLayoutBox.ElementStructureChangedLayoutElement.EnsureChildrenCreated()LayoutElement.CreateChildren()LayoutElement.OnBitStateChanged(DocumentElementStates, bool, bool)LayoutElement.SetBitState(DocumentElementStates, bool)LayoutElement.ValidateParent(LayoutElement)LayoutElement.SetParent(LayoutElement, LayoutElement)LayoutElement.SetParentCore(LayoutElement)LayoutElement.IsInValidState(bool)LayoutElement.OnInvalidateMeasure()LayoutElement.InvalidateMeasure(bool)LayoutElement.InvalidateArrange()LayoutElement.OnInvalidateArrange()LayoutElement.InvalidateArrange(bool)LayoutElement.Arrange(RectangleF)LayoutElement.ArrangeCore(RectangleF)LayoutElement.ArrangeOverride(SizeF)LayoutElement.Measure(SizeF)LayoutElement.MeasureCore(SizeF)LayoutElement.OnChildDesiredSizeChanged(LayoutElement)LayoutElement.OnParentChanging()LayoutElement.OnParentChanged()LayoutElement.LayoutOffsetLayoutElement.IsTopContainerLayoutElement.LocalBoundingRectangleLayoutElement.ControlBoundingRectangleLayoutElement.ClippedControlBoundingRectangleLayoutElement.TotalTransformLayoutElement.ChildrenLayoutElement.BitStateLayoutElement.DesiredSizeLayoutElement.IsMeasureInProgressLayoutElement.BypassLayoutPoliciesLayoutElement.MeasureWithoutParentNotificationLayoutElement.SizeLayoutElement.IsArrangeValidLayoutElement.IsMeasureValidLayoutElement.TreeLevelLayoutElement.PreviousArrangeRectLayoutElement.AlignmentLayoutElement.AutoSizeLayoutElement.TransformLayoutElement.ParentChangingLayoutElement.ParentChanged...

Constructors

C#
public AnnotationMarkerLayoutBox(DocumentElement associatedDocumentElement, DocumentStructureCollection collection)
Parameters:associatedDocumentElementDocumentElementcollectionDocumentStructureCollection

Properties

Gets the associated annotation marker for the layout box.

C#
public AnnotationMarkerBase AssociatedAnnotationMarker { get; }

Gets the baseline offset for the annotation marker layout box.

C#
public override float BaselineOffset { get; }

Overrides: InlineLayoutBox.BaselineOffset

Gets a value indicating whether the annotation marker has a visual representation.

C#
public override bool HasVisualRepresentation { get; }

Overrides: LayoutBox.HasVisualRepresentation

Determines whether the annotation marker layout box has a width at the end of the line.

C#
public override bool HasWidthAtTheEndOfLine { get; }

Overrides: InlineLayoutBox.HasWidthAtTheEndOfLine

Gets a value indicating whether the annotation marker layout box is read-only.

C#
public override bool IsReadonly { get; }

Overrides: InlineLayoutBox.IsReadonly

Gets a value indicating whether the annotation marker layout box can be split.

C#
public override bool IsSplittable { get; }

Overrides: InlineLayoutBox.IsSplittable

Gets the count of positions within the annotation marker layout box.

C#
public override int PositionsCountInBox { get; }

Overrides: InlineLayoutBox.PositionsCountInBox

Gets or sets the text associated with the annotation marker layout box.

C#
public override string Text { get; set; }
Property Value:

The text as a string.

Overrides: InlineLayoutBox.Text

Methods

Creates a layout element for the annotation marker.

C#
public override LayoutElement CreateLayoutElement()
Returns:

LayoutElement

A new instance of the layout element associated with the annotation marker.

Overrides: LayoutBox.CreateLayoutElement()

Measures the space required by the LayoutElement Used by the layout system.

C#
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters:availableSizeSizeF

The size that is available to the LayoutElement. The available size can be infinity (to take the full size of the element)

Returns:

SizeF

The minimum size required by the element to be completely visible. Cannot be infinity.

Overrides: LayoutElement.MeasureOverride(SizeF)

Remarks:

In this method call to the Measure method of each child must be made.