Represents the start marker of a code annotation range in a RadDocument. Provides properties for specifying the language, line numbering, and alternating line options for the annotated code block. Inherits from AnnotationRangeStart and implements ICodeRangeMarker.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class CodeAnnotationRangeStart : AnnotationRangeStart
Inheritance: objectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeStartCodeAnnotationRangeStart...
Inherited Members
Constructors
public CodeAnnotationRangeStart()
Properties
Gets or sets a value indicating whether alternating lines are enabled for the code annotation range start.
[XamlSerializable]
public bool IsAlternatingLinesEnabled { get; set; }
A boolean value that determines if alternating lines are applied. Returns true if alternating lines are enabled; otherwise, false.
Gets or sets a value indicating whether line numbering is enabled for the code annotation range start.
[XamlSerializable]
public bool IsLineNumberingEnabled { get; set; }
true if line numbering is enabled; otherwise, false.
Gets a value indicating whether the range represented by the code annotation start is editable.
public override bool IsRangeEditable { get; }
Overrides:
Gets or sets the language of the code annotation range start.
[XamlSerializable]
public string Language { get; set; }
The language represented as a string.
Gets or sets the position that the code annotation range should skip before.
public override bool SkipPositionBefore { get; }
The position to skip before the code annotation range.
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: