Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class CodeAnnotationRangeStart : AnnotationRangeStart, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeStartCodeAnnotationRangeStart...
Implements:
Inherited Members
Constructors
public CodeAnnotationRangeStart()
Properties
[XamlSerializable]
public bool IsAlternatingLinesEnabled { get; set; }
[XamlSerializable]
public bool IsLineNumberingEnabled { get; set; }
Gets a value indicating whether this range is editable.
public override bool IsRangeEditable { get; }
true if this range is editable; otherwise, false.
Overrides:
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.
The behavior of AnnotationRangeEnd is also controlled in the same manner.
public override bool SkipPositionBefore { get; }
true if the position before the marker will be skipped; otherwise, false.
Overrides:
Methods
Copies the content from another Inline.
protected override void CopyContentFromOverride(DocumentElement fromElement)
The Inline to copy the content from.
Exceptions:fromElement must not be null.
Cannot copy content to element itself.
Overrides:
Copies the properties from another document element to the current instance.
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
The AnnotationMarkerBase to copy the properties from.
Overrides:
Creates a new instance of this element.
protected override DocumentElement CreateNewElementInstance()
The new instance.
Overrides: