ClassCodeAnnotationRangeStart
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
CodeAnnotationRangeStart()
Declaration
public CodeAnnotationRangeStart()
Properties
IsAlternatingLinesEnabled
Declaration
[XamlSerializable]
public bool IsAlternatingLinesEnabled { get; set; }
Property Value
IsLineNumberingEnabled
Declaration
[XamlSerializable]
public bool IsLineNumberingEnabled { get; set; }
Property Value
IsRangeEditable
Gets a value indicating whether this range is editable.
Declaration
public override bool IsRangeEditable { get; }
Property Value
true if this range is editable; otherwise, false.
Overrides
Language
Declaration
[XamlSerializable]
public string Language { get; set; }
Property Value
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
CopyPropertiesFromOverride(DocumentElement)
Copies the properties from another document element to the current instance.
Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
fromElement
The AnnotationMarkerBase to copy the properties from.
Overrides
CreateNewElementInstance()
Creates a new instance of this element.
Declaration
protected override DocumentElement CreateNewElementInstance()
Returns
The new instance.
Overrides