ClassAnnotationMarkerBase
Represents a marker inside a RadDocument.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public abstract class AnnotationMarkerBase : Inline
Inheritance: objectDocumentElementInlineAnnotationMarkerBase
Derived Classes:
Inherited Members
Constructors
AnnotationMarkerBase()
Declaration
protected AnnotationMarkerBase()
Properties
AnnotationID
Gets or sets the annotation identifier.
Declaration
[XamlSerializable]
public int AnnotationID { get; set; }
Property Value
The annotation identifier.
BackspaceBehavior
Represents the behavior when the Backspace key is pressed over the annotation.
Declaration
public virtual AnnotationMarkerDeleteBehavior BackspaceBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior
The backspace behavior.
DeleteBehavior
Represents the behavior when the Delete key is pressed over the annotation.
Declaration
public virtual AnnotationMarkerDeleteBehavior DeleteBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior
The delete behavior.
DeleteSelectedBehavior
Represents the behavior when the annotation is selected and Backspace or Delete keys are pressed.
Declaration
public virtual AnnotationMarkerDeleteBehavior DeleteSelectedBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior
The delete selected behavior.
IsCopyable
Gets a value indicating whether this instance is copyable.
Declaration
public override bool IsCopyable { get; }
Property Value
true if this instance is copyable; otherwise, false.
Overrides
IsWordSeparator
Determines whether the annotation should be treated as word separator.
SkipPositionAfter
A negation of the SkipPositionBefore property. If the position before the marker is skipped, then the one after it must not be skipped.
Exactly one of the positions must be skipped.
Declaration
public virtual bool SkipPositionAfter { get; }
Property Value
true if the position after the marker will be skipped; otherwise, false.
SkipPositionBefore
Determines if the CaretPosition will be put before or after the annotation marker.
If the value of this property is true for an AnnotationRangeStart, then if you move the caret to the annotation start and start typing,
the newly inserted text will be considered as part of the annotation. Vice versa, if it is set to false, the typed text will be inserted before the annotation.
Declaration
public abstract bool SkipPositionBefore { get; }
Property Value
true if the position before the marker will be skipped; otherwise, false.
Methods
CopyPropertiesFromOverride(DocumentElement)
Copies the properties from another document element to the current instance.
Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
fromElement
The AnnotationMarkerBase to copy the properties from.
Overrides
CreateLayoutBox(DocumentStructureCollection)
Creates a LayoutBox for the element.
Declaration
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
Parameters
documentCollection
The document collection.
Returns
Overrides