FootnoteSnapshot Class
Definition
A footnote in a document snapshot: the note's body as a nested document snapshot, the id pairing it with the Avalonia.Controls.Documents.Serialization.Snapshot.FootnoteReferenceSnapshotNode anchor of the same id, and an optional name for formats that address notes by name.
public class FootnoteSnapshot
Constructors
| Name | Description |
|---|---|
| FootnoteSnapshot | Initializes a note snapshot. |
FootnoteSnapshot Constructor
Initializes a note snapshot.
public FootnoteSnapshot(int noteId, Avalonia.Controls.Documents.Serialization.Snapshot.DocumentSnapshot content, string label)
Parameters
noteId int
content Avalonia.Controls.Documents.Serialization.Snapshot.DocumentSnapshot
label string
Properties
| Name | Description |
|---|---|
| Content | The note's body. |
| Label | The note's name, when the source format named it; null otherwise. |
| NoteId | The id pairing the note with its anchor. |
Content Property
The note's body.
public Avalonia.Controls.Documents.Serialization.Snapshot.DocumentSnapshot Content { get; set; }
Label Property
The note's name, when the source format named it; null otherwise.
public string Label { get; set; }
NoteId Property
The id pairing the note with its anchor.
public int NoteId { get; set; }