Class
CommentRangeEnd

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:

cs-api-definition
public class CommentRangeEnd : AnnotationRangeEnd

Inheritance: objectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeEndCommentRangeEnd

Inherited Members AnnotationRangeEnd.CreatePairedStart()AnnotationRangeEnd.PairWithStart(AnnotationRangeStart)AnnotationRangeEnd.PairWithStartOverride(AnnotationRangeStart)AnnotationRangeEnd.StartAnnotationRangeEnd.IsPairedAnnotationMarkerBase.CreateLayoutBox(DocumentStructureCollection)AnnotationMarkerBase.AnnotationIDAnnotationMarkerBase.SkipPositionAfterAnnotationMarkerBase.IsWordSeparatorAnnotationMarkerBase.IsCopyableInline.CopyFromPositionToEndOfInline(DocumentPosition, DocumentPosition)Inline.CopyFromStartOfInlineToEndPosition(DocumentPosition)Inline.CopyContentFrom(DocumentElement)Inline.FieldStartDocumentElement.GetStyleProperty(IStylePropertyDefinition)DocumentElement.GetStyleProperty(string)DocumentElement.EnumerateChildrenOfType<T>()DocumentElement.GetParentOfType<T>()DocumentElement.CreateLayoutBox()DocumentElement.CopyPropertiesFrom(DocumentElement)DocumentElement.CopyPropertiesFromStyle(StyleDefinition)DocumentElement.ExtractStyleFromProperties()DocumentElement.ExtractStyleFromLocalProperties()DocumentElement.InvalidateAssociatedBoxesArrange()DocumentElement.InvalidateAssociatedBoxesMeasure()DocumentElement.InvalidateAssociatedBoxesLayout()DocumentElement.GetAssociatedLayoutBoxes()DocumentElement.GetRootDocument()DocumentElement.CreateDeepCopy()DocumentElement.CreateShallowCopy()DocumentElement.GetPropertyValueSource(IStylePropertyDefinition)DocumentElement.ClearValue(IStylePropertyDefinition)DocumentElement.OnRemoved()DocumentElement.OnStyleChanging()DocumentElement.OnStyleChanged()DocumentElement.OnStylePropertyChanged(StylePropertyChangeEventArgs)DocumentElement.OnParentChanging()DocumentElement.OnParentChanged()DocumentElement.ChildIndexDocumentElement.HasStyleDocumentElement.StyleDocumentElement.StyleNameDocumentElement.TagDocumentElement.FirstLayoutBoxDocumentElement.IsFirstLayoutBoxInitializedDocumentElement.DocumentElementsDocumentElement.ParentDocumentElement.ChildrenDocumentElement.PreviousSiblingDocumentElement.NextSiblingDocumentElement.CursorDocumentElement.StyleChangingDocumentElement.StyleChangedDocumentElement.StylePropertyChangedDocumentElement.ParentChangingDocumentElement.ParentChangedDocumentElement.PropertyValueChanged

Constructors

CommentRangeEnd()

Declaration

cs-api-definition
public CommentRangeEnd()

Properties

BackspaceBehavior

Gets or sets the behavior of the Backspace key when it is pressed within the CommentRangeEnd.

Declaration

cs-api-definition
public override AnnotationMarkerDeleteBehavior BackspaceBehavior { get; }

Property Value

AnnotationMarkerDeleteBehavior

Overrides AnnotationMarkerBase.BackspaceBehavior

Comment

Represents the end of a comment range within a document.

Declaration

cs-api-definition
[XamlSerializable]
public Comment Comment { get; set; }

Property Value

Comment

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

cs-api-definition
protected override bool CreatePairedStartOnCopy { get; }

Property Value

bool

Should pair annotation.

Overrides AnnotationRangeEnd.CreatePairedStartOnCopy

DeleteBehavior

Gets or sets the behavior for deleting the comment range end.

Declaration

cs-api-definition
public override AnnotationMarkerDeleteBehavior DeleteBehavior { get; }

Property Value

AnnotationMarkerDeleteBehavior

Overrides AnnotationMarkerBase.DeleteBehavior

DeleteSelectedBehavior

Represents the behavior when deleting a selected comment range end in the document model.

Declaration

cs-api-definition
public override AnnotationMarkerDeleteBehavior DeleteSelectedBehavior { get; }

Property Value

AnnotationMarkerDeleteBehavior

Overrides AnnotationMarkerBase.DeleteSelectedBehavior

SkipPositionBefore

Gets or sets a value that indicates whether the position before the comment range end should be skipped.

Declaration

cs-api-definition
public override bool SkipPositionBefore { get; }

Property Value

bool

A boolean value; true if the position before the comment range end is to be skipped; otherwise, false.

Overrides AnnotationMarkerBase.SkipPositionBefore

Methods

CopyContentFromOverride(DocumentElement)

Copies the content from another Inline.

Declaration

cs-api-definition
protected override void CopyContentFromOverride(DocumentElement fromElement)

Parameters

fromElement

DocumentElement

The Inline to copy the content from.

Exceptions

NullReferenceException

fromElement must not be null.

InvalidOperationException

Cannot copy content to element itself.

Overrides Inline.CopyContentFromOverride(DocumentElement)

CopyPropertiesFromOverride(DocumentElement)

Copies the properties from another document element to the current instance.

Declaration

cs-api-definition
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)

Parameters

fromElement

DocumentElement

The AnnotationMarkerBase to copy the properties from.

Overrides AnnotationMarkerBase.CopyPropertiesFromOverride(DocumentElement)

CreateNewElementInstance()

Creates a new instance of this element.

Declaration

cs-api-definition
protected override DocumentElement CreateNewElementInstance()

Returns

DocumentElement

The new instance.

Overrides DocumentElement.CreateNewElementInstance()

CreateRangeStartInstance()

Creates the range start instance.

Declaration

cs-api-definition
protected override AnnotationRangeStart CreateRangeStartInstance()

Returns

AnnotationRangeStart

The created AnnotationRangeStart.

Overrides AnnotationRangeEnd.CreateRangeStartInstance()

UpdateAnnotationID()

Updates the annotation ID for the comment range end.

Declaration

cs-api-definition
public override void UpdateAnnotationID()

Overrides AnnotationRangeEnd.UpdateAnnotationID()