New to Telerik UI for WPFStart a free 30-day trial

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:

C#
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

C#
public CommentRangeEnd()

Properties

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

C#
public override AnnotationMarkerDeleteBehavior BackspaceBehavior { get; }

Overrides: AnnotationMarkerBase.BackspaceBehavior

Represents the end of a comment range within a document.

C#
[XamlSerializable]
public Comment Comment { get; set; }

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.

C#
protected override bool CreatePairedStartOnCopy { get; }
Property Value:

Should pair annotation.

Overrides: AnnotationRangeEnd.CreatePairedStartOnCopy

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

C#
public override AnnotationMarkerDeleteBehavior DeleteBehavior { get; }

Overrides: AnnotationMarkerBase.DeleteBehavior

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

C#
public override AnnotationMarkerDeleteBehavior DeleteSelectedBehavior { get; }

Overrides: AnnotationMarkerBase.DeleteSelectedBehavior

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

C#
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: AnnotationMarkerBase.SkipPositionBefore

Methods

Copies the content from another Inline.

C#
protected override void CopyContentFromOverride(DocumentElement fromElement)
Parameters:fromElementDocumentElement

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)

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

C#
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters:fromElementDocumentElement

The AnnotationMarkerBase to copy the properties from.

Overrides: AnnotationMarkerBase.CopyPropertiesFromOverride(DocumentElement)

Creates a new instance of this element.

C#
protected override DocumentElement CreateNewElementInstance()
Returns:

DocumentElement

The new instance.

Overrides: DocumentElement.CreateNewElementInstance()

Creates the range start instance.

C#
protected override AnnotationRangeStart CreateRangeStartInstance()
Returns:

AnnotationRangeStart

The created AnnotationRangeStart.

Overrides: AnnotationRangeEnd.CreateRangeStartInstance()

Updates the annotation ID for the comment range end.

C#
public override void UpdateAnnotationID()

Overrides: AnnotationRangeEnd.UpdateAnnotationID()