Table of Contents

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

Id RichAnnotationId
Range RichTextSelection
Text string
Author string
Created DateTimeOffset?

Properties

Author

public string Author { get; init; }

Property Value

string

Created

public DateTimeOffset? Created { get; init; }

Property Value

DateTimeOffset?

Id

public RichAnnotationId Id { get; init; }

Property Value

RichAnnotationId

IsOrphaned

Gets whether the comment's anchored content was removed.

public bool IsOrphaned { get; }

Property Value

bool

Range

public RichTextSelection? Range { get; init; }

Property Value

RichTextSelection

Text

public string Text { get; init; }

Property Value

string