ClassReadOnlyRangeEnd
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:
public class ReadOnlyRangeEnd : FieldRangeEndBase, IReadOnlyRangeMarker
Inheritance: objectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeEndFieldRangeEndBaseReadOnlyRangeEnd
Implements:
Inherited Members
Constructors
ReadOnlyRangeEnd()
Initializes a new instance of the ReadOnlyRangeEnd class.
Declaration
public ReadOnlyRangeEnd()
Properties
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
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
public override bool SkipPositionBefore { get; }
Property Value
true if the position before the marker will be skipped; otherwise, false.
Overrides
Methods
CopyContentFromOverride(DocumentElement)
Copies the content from another Inline.
Declaration
protected override void CopyContentFromOverride(DocumentElement fromElement)
Parameters
fromElement
The Inline to copy the content from.
Overrides
CreateNewElementInstance()
Creates a new instance of this element.
Declaration
protected override DocumentElement CreateNewElementInstance()
Returns
The new instance.
Overrides
CreateRangeStartInstance()
Creates the range start instance.
Declaration
protected override AnnotationRangeStart CreateRangeStartInstance()
Returns
The created ReadOnlyRangeStart.
Overrides