Class AnnotationMarkerBase
Represents a marker inside a RadDocument.
Inherited Members
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Documents.dll
Syntax
public abstract class AnnotationMarkerBase : Inline
Constructors
AnnotationMarkerBase()
Declaration
protected AnnotationMarkerBase()
Properties
AnnotationID
Gets or sets the annotation identifier.
Declaration
[XamlSerializable]
public int AnnotationID { get; set; }
Property Value
System.Int32
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
System.Boolean
|
Overrides
IsWordSeparator
Determines whether the annotation should be treated as word separator.
Declaration
public virtual bool IsWordSeparator { get; }
Property Value
System.Boolean
|
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
System.Boolean
|
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
System.Boolean
|
Methods
CopyPropertiesFromOverride(DocumentElement)
Copies the properties from another document element to the current instance.
Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
DocumentElement
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
DocumentStructureCollection
documentCollection
The document collection. |
Returns
LayoutBox
|