Class
CommentRangeStart

Represents the start of a comment range in a document. This object is used to denote the beginning of a comment section, linking it to the corresponding CommentEnd to represent the full range of the comment.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class CommentRangeStart : AnnotationRangeStart

Inheritance: objectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeStartCommentRangeStart

Inherited Members AnnotationRangeStart.EndAnnotationRangeStart.IsPairedAnnotationRangeStart.SkipPositionsInRangeAnnotationRangeStart.ShouldSpellcheckAnnotationRangeStart.IsRangeDeletableAnnotationRangeStart.IsRangeEditableAnnotationMarkerBase.CreateLayoutBox(DocumentStructureCollection)AnnotationMarkerBase.CopyPropertiesFromOverride(DocumentElement)AnnotationMarkerBase.AnnotationIDAnnotationMarkerBase.SkipPositionAfterAnnotationMarkerBase.IsWordSeparatorAnnotationMarkerBase.IsCopyableAnnotationMarkerBase.DeleteSelectedBehaviorInline.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

CommentRangeStart()

Declaration

cs-api-definition
public CommentRangeStart()

Properties

BackspaceBehavior

Gets or sets the behavior when the Backspace key is pressed on the comment range start.

Declaration

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

Property Value

AnnotationMarkerDeleteBehavior

Overrides AnnotationMarkerBase.BackspaceBehavior

DeleteBehavior

Gets or sets the behavior for deleting the comment range start element.

Declaration

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

Property Value

AnnotationMarkerDeleteBehavior

Overrides AnnotationMarkerBase.DeleteBehavior

SkipPositionBefore

Gets or sets the position that indicates whether to skip the position before the comment range start.

Declaration

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

Property Value

bool

A boolean value indicating whether to skip the position before the comment range start.

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)

CreateNewElementInstance()

Creates a new instance of this element.

Declaration

cs-api-definition
protected override DocumentElement CreateNewElementInstance()

Returns

DocumentElement

The new instance.

Overrides DocumentElement.CreateNewElementInstance()