ClassCommentRangeEnd
Represents the end of a comment range in the document model, indicating where the comment scope concludes.
Definition
Namespace:Telerik.Windows.Documents.Model
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class CommentRangeEnd : AnnotationRangeEnd
Inheritance: objectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeEndCommentRangeEnd
Inherited Members
Constructors
CommentRangeEnd()
Declaration
public CommentRangeEnd()
Properties
BackspaceBehavior
Gets or sets the behavior of the Backspace key when it is pressed within the CommentRangeEnd.
Declaration
public override AnnotationMarkerDeleteBehavior BackspaceBehavior { get; }
Property Value
Overrides
Comment
Represents the end of a comment range within a document.
Declaration
[XamlSerializable]
public Comment Comment { get; set; }
Property Value
CreatePairedStartOnCopy
Gets a value indicating whether a new paired AnnotationRangeStart will be created during copy operation.
Default value is false.
This property is provided for backward compatibility.
Declaration
protected override bool CreatePairedStartOnCopy { get; }
Property Value
Should pair annotation.
Overrides
DeleteBehavior
Gets or sets the behavior for deleting the comment range end.
Declaration
public override AnnotationMarkerDeleteBehavior DeleteBehavior { get; }
Property Value
Overrides
DeleteSelectedBehavior
Represents the behavior when deleting a selected comment range end in the document model.
Declaration
public override AnnotationMarkerDeleteBehavior DeleteSelectedBehavior { get; }
Property Value
Overrides
SkipPositionBefore
Gets or sets a value that indicates whether the position before the comment range end should be skipped.
Declaration
public override bool SkipPositionBefore { get; }
Property Value
A boolean value; true if the position before the comment range end is to 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
CreateRangeStartInstance()
Creates the range start instance.
Declaration
protected override AnnotationRangeStart CreateRangeStartInstance()
Returns
The created AnnotationRangeStart.
Overrides
UpdateAnnotationID()
Updates the annotation ID for the comment range end.
Declaration
public override void UpdateAnnotationID()
Overrides