ClassCodeAnnotationRangeEnd
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
CodeAnnotationRangeEnd()
Declaration
public CodeAnnotationRangeEnd()
Properties
SkipPositionBefore
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.
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.
Exceptions
fromElement must not be null.
Cannot copy content to element itself.
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 AnnotationRangeStart.
Overrides