Class RichComment
- Namespace
- RichEdit.Core
- Assembly
- RichEdit.Core.dll
A persistent comment with an optional surviving text anchor.
public sealed record RichComment : IEquatable<RichComment>
- Inheritance
-
RichComment
- Implements
- Inherited Members
Constructors
RichComment(RichAnnotationId, RichTextSelection?, string, string, DateTimeOffset?)
A persistent comment with an optional surviving text anchor.
public RichComment(RichAnnotationId Id, RichTextSelection? Range, string Text, string Author, DateTimeOffset? Created)
Parameters
IdRichAnnotationIdRangeRichTextSelectionTextstringAuthorstringCreatedDateTimeOffset?
Properties
Author
public string Author { get; init; }
Property Value
Created
public DateTimeOffset? Created { get; init; }
Property Value
Id
public RichAnnotationId Id { get; init; }
Property Value
IsOrphaned
Gets whether the comment's anchored content was removed.
public bool IsOrphaned { get; }
Property Value
Range
public RichTextSelection? Range { get; init; }
Property Value
Text
public string Text { get; init; }