Class
MarkRangeStartBase

Represents the base class for marking the start of a range in a note.

Definition

Namespace:Telerik.Windows.Documents.Model.Notes

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public abstract class MarkRangeStartBase : FieldRangeStartBase

Inheritance: objectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeStartFieldRangeStartBaseMarkRangeStartBase

Derived Classes: NoteRangeStartBaseNoteReferenceMarkStart

Inherited Members FieldRangeStartBase.IsCopyableAnnotationRangeStart.EndAnnotationRangeStart.IsPairedAnnotationRangeStart.IsRangeDeletableAnnotationRangeStart.IsRangeEditableAnnotationMarkerBase.CreateLayoutBox(DocumentStructureCollection)AnnotationMarkerBase.CopyPropertiesFromOverride(DocumentElement)AnnotationMarkerBase.AnnotationIDAnnotationMarkerBase.SkipPositionAfterInline.CopyFromPositionToEndOfInline(DocumentPosition, DocumentPosition)Inline.CopyFromStartOfInlineToEndPosition(DocumentPosition)Inline.CopyContentFromOverride(DocumentElement)Inline.CopyContentFrom(DocumentElement)Inline.FieldStartDocumentElement.CreateNewElementInstance()DocumentElement.GetStyleProperty(IStylePropertyDefinition)DocumentElement.GetStyleProperty(string)DocumentElement.EnumerateChildrenOfType<T>()DocumentElement.GetParentOfType<T>()DocumentElement.CreateLayoutBox()DocumentElement.CopyPropertiesFrom(DocumentElement)DocumentElement.CopyPropertiesFromStyle(StyleDefinition)DocumentElement.ExtractStyleFromProperties()DocumentElement.ExtractStyleFromLocalProperties()DocumentElement.InvalidateAssociatedBoxesArrange()DocumentElement.InvalidateAssociatedBoxesMeasure()DocumentElement.InvalidateAssociatedBoxesLayout()DocumentElement.GetAssociatedLayoutBoxes()DocumentElement.GetRootDocument()DocumentElement.CreateDeepCopy()DocumentElement.CreateShallowCopy()DocumentElement.GetPropertyValueSource(IStylePropertyDefinition)DocumentElement.ClearValue(IStylePropertyDefinition)DocumentElement.OnRemoved()DocumentElement.OnStyleChanging()DocumentElement.OnStyleChanged()DocumentElement.OnStylePropertyChanged(StylePropertyChangeEventArgs)DocumentElement.OnParentChanging()DocumentElement.OnParentChanged()DocumentElement.ChildIndexDocumentElement.HasStyleDocumentElement.StyleDocumentElement.StyleNameDocumentElement.TagDocumentElement.FirstLayoutBoxDocumentElement.IsFirstLayoutBoxInitializedDocumentElement.DocumentElementsDocumentElement.ParentDocumentElement.ChildrenDocumentElement.PreviousSiblingDocumentElement.NextSiblingDocumentElement.CursorDocumentElement.StyleChangingDocumentElement.StyleChangedDocumentElement.StylePropertyChangedDocumentElement.ParentChangingDocumentElement.ParentChangedDocumentElement.PropertyValueChanged

Constructors

MarkRangeStartBase()

Declaration

cs-api-definition
protected MarkRangeStartBase()

Properties

BackspaceBehavior

Represents the behavior when the Backspace key is pressed over the field range.

Declaration

cs-api-definition
public override AnnotationMarkerDeleteBehavior BackspaceBehavior { get; }

Property Value

AnnotationMarkerDeleteBehavior

The backspace behavior.

Overrides FieldRangeStartBase.BackspaceBehavior

DeleteBehavior

Represents the behavior when the Delete key is pressed over the field range.

Declaration

cs-api-definition
public override AnnotationMarkerDeleteBehavior DeleteBehavior { get; }

Property Value

AnnotationMarkerDeleteBehavior

The delete behavior.

Overrides FieldRangeStartBase.DeleteBehavior

DeleteSelectedBehavior

Represents the behavior when the field range is selected and Backspace or Delete keys are pressed.

Declaration

cs-api-definition
public override AnnotationMarkerDeleteBehavior DeleteSelectedBehavior { get; }

Property Value

AnnotationMarkerDeleteBehavior

The delete selected behavior.

Overrides FieldRangeStartBase.DeleteSelectedBehavior

IsWordSeparator

Determines whether the annotation should be treated as word separator.

Declaration

cs-api-definition
public override bool IsWordSeparator { get; }

Property Value

bool

Overrides AnnotationMarkerBase.IsWordSeparator

ShouldSpellcheck

Gets a value indicating whether the contents of the annotation should be included in the spellcheck.

Declaration

cs-api-definition
public override bool ShouldSpellcheck { get; }

Property Value

bool

true if the contents of the annotation should be included in the spellcheck; otherwise, false.

Overrides AnnotationRangeStart.ShouldSpellcheck

SkipPositionBefore

Determines if the CaretPosition will be put before or after the annotation marker.

If the value of this property is true for a FieldRangeStartBase, then if you move the caret to the field 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.

The behavior of FieldRangeEndBase is also controlled in the same manner.

Declaration

cs-api-definition
public override bool SkipPositionBefore { get; }

Property Value

bool

true if the position before the marker will be skipped; otherwise, false.

Overrides FieldRangeStartBase.SkipPositionBefore

SkipPositionsInRange

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.

The behavior of AnnotationRangeEnd is also controlled in the same manner.

Declaration

cs-api-definition
public override bool SkipPositionsInRange { get; }

Property Value

bool

true if the position before the marker will be skipped; otherwise, false.

Overrides AnnotationRangeStart.SkipPositionsInRange

Methods

UpdateAssociatedSpan()

Updates the Span associated to the annotation.

Declaration

cs-api-definition
public abstract void UpdateAssociatedSpan()