Class
ReadOnlyRangeStart

Represents the starting point of a read-only range in a document model.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ReadOnlyRangeStart : FieldRangeStartBase, IReadOnlyRangeMarker

Inheritance: objectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeStartFieldRangeStartBaseReadOnlyRangeStart

Implements: IReadOnlyRangeMarker

Inherited Members FieldRangeStartBase.DeleteBehaviorFieldRangeStartBase.BackspaceBehaviorAnnotationRangeStart.EndAnnotationRangeStart.IsPairedAnnotationRangeStart.SkipPositionsInRangeAnnotationRangeStart.ShouldSpellcheckAnnotationMarkerBase.CreateLayoutBox(DocumentStructureCollection)AnnotationMarkerBase.CopyPropertiesFromOverride(DocumentElement)AnnotationMarkerBase.AnnotationIDAnnotationMarkerBase.SkipPositionAfterAnnotationMarkerBase.IsWordSeparatorInline.CopyFromPositionToEndOfInline(DocumentPosition, DocumentPosition)Inline.CopyFromStartOfInlineToEndPosition(DocumentPosition)Inline.CopyContentFrom(DocumentElement)Inline.FieldStartDocumentElement.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

ReadOnlyRangeStart()

Initializes a new instance of the ReadOnlyRangeStart class.

Declaration

cs-api-definition
public ReadOnlyRangeStart()

Properties

DeleteSelectedBehavior

Represents the behavior when the 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

IsCopyable

Gets a value indicating whether this instance is copyable.

Declaration

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

Property Value

bool

true if this instance is copyable; otherwise, false.

Overrides FieldRangeStartBase.IsCopyable

IsRangeDeletable

Gets a value indicating whether this range can be deleted.

Declaration

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

Property Value

bool

true if this range is deletable; otherwise, false.

Overrides AnnotationRangeStart.IsRangeDeletable

IsRangeEditable

Gets a value indicating whether this range is editable.

Declaration

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

Property Value

bool

true if this range is editable; otherwise, false.

Overrides AnnotationRangeStart.IsRangeEditable

SkipPositionBefore

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

If the value of this property is true for a ReadOnlyRangeStart, 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 ReadOnlyRangeEnd 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

Methods

CopyContentFromOverride(DocumentElement)

Copies the content from another Inline.

Declaration

cs-api-definition
protected override void CopyContentFromOverride(DocumentElement fromElement)

Parameters

fromElement

DocumentElement

The Inline to copy the content from.

Overrides Inline.CopyContentFromOverride(DocumentElement)

CreateNewElementInstance()

Creates a new instance of this element.

Declaration

cs-api-definition
protected override DocumentElement CreateNewElementInstance()

Returns

DocumentElement

The new instance.

Overrides DocumentElement.CreateNewElementInstance()