Class
ReadOnlyRangeEnd

Represents the end marker for a read only range in a RadDocument.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ReadOnlyRangeEnd : FieldRangeEndBase, IReadOnlyRangeMarker

Inheritance: objectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeEndFieldRangeEndBaseReadOnlyRangeEnd

Implements: IReadOnlyRangeMarker

Inherited Members FieldRangeEndBase.BackspaceBehaviorFieldRangeEndBase.DeleteSelectedBehaviorAnnotationRangeEnd.UpdateAnnotationID()AnnotationRangeEnd.CreatePairedStart()AnnotationRangeEnd.PairWithStart(AnnotationRangeStart)AnnotationRangeEnd.PairWithStartOverride(AnnotationRangeStart)AnnotationRangeEnd.StartAnnotationRangeEnd.IsPairedAnnotationRangeEnd.CreatePairedStartOnCopyAnnotationMarkerBase.CreateLayoutBox(DocumentStructureCollection)AnnotationMarkerBase.CopyPropertiesFromOverride(DocumentElement)AnnotationMarkerBase.AnnotationIDAnnotationMarkerBase.SkipPositionAfterAnnotationMarkerBase.IsWordSeparatorAnnotationMarkerBase.DeleteBehaviorInline.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

ReadOnlyRangeEnd()

Initializes a new instance of the ReadOnlyRangeEnd class.

Declaration

cs-api-definition
public ReadOnlyRangeEnd()

Properties

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 FieldRangeEndBase.IsCopyable

SkipPositionBefore

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

If the value of this property is true for an FieldRangeStartBase, 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

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

Property Value

bool

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

Overrides FieldRangeEndBase.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()

CreateRangeStartInstance()

Creates the range start instance.

Declaration

cs-api-definition
protected override AnnotationRangeStart CreateRangeStartInstance()

Returns

AnnotationRangeStart

The created ReadOnlyRangeStart.

Overrides AnnotationRangeEnd.CreateRangeStartInstance()