Marks the end of a code block range started by CodeAnnotationRangeStart.
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class CodeAnnotationRangeEnd : AnnotationRangeEnd, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeEndCodeAnnotationRangeEnd...
Implements:
Inherited Members
Constructors
public CodeAnnotationRangeEnd()
Properties
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.
public override bool SkipPositionBefore { get; }
true if the position before the marker will be skipped; otherwise, false.
Overrides:
Methods
Does not copy content because the range marker contains no text.
protected override void CopyContentFromOverride(DocumentElement fromElement)
The source marker used by the document-element copy operation.
Overrides:
Creates a new end marker when this code annotation is cloned.
protected override DocumentElement CreateNewElementInstance()
Overrides:
Creates the matching code-range start marker when this end marker is paired with a start.
protected override AnnotationRangeStart CreateRangeStartInstance()
A new CodeAnnotationRangeStart.
Overrides: