ClassCommentRangeEnd
Definition
Namespace:Telerik.WinForms.Documents.Model
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class CommentRangeEnd : AnnotationRangeEnd, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor
Inheritance: objectDisposableObjectRadObjectDocumentElementInlineAnnotationMarkerBaseAnnotationRangeMarkerBaseAnnotationRangeEndCommentRangeEnd
Implements:
Inherited Members
Constructors
CommentRangeEnd()
Declaration
public CommentRangeEnd()
Properties
BackspaceBehavior
Represents the behavior when the Backspace key is pressed over the annotation.
Declaration
public override AnnotationMarkerDeleteBehavior BackspaceBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior
The backspace behavior.
Overrides
Comment
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
Represents the behavior when the Delete key is pressed over the annotation.
Declaration
public override AnnotationMarkerDeleteBehavior DeleteBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior
The delete behavior.
Overrides
DeleteSelectedBehavior
Represents the behavior when the annotation is selected and Backspace or Delete keys are pressed.
Declaration
public override AnnotationMarkerDeleteBehavior DeleteSelectedBehavior { get; }
Property Value
AnnotationMarkerDeleteBehavior
The delete selected behavior.
Overrides
SkipPositionBefore
Determines if the CaretPosition will be put before or after the annotation marker.
If the value of this property is true for an AnnotationRangeStart, then if you move the caret to the annotation start and start typing,
the newly inserted text will be considered as part of the annotation. Vice versa, if it is set to false, the typed text will be inserted before the annotation.
Declaration
public override bool SkipPositionBefore { get; }
Property Value
true if the position before the marker will 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 identifier.
Declaration
public override void UpdateAnnotationID()
Overrides