Skip to main content

FootnoteSnapshot Class

Definition​

Assembly:Avalonia.Controls.Documents
Package:Avalonia.Controls.Documents

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

Inheritance: object -> FootnoteSnapshot

Constructors​

NameDescription
FootnoteSnapshotInitializes 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​

NameDescription
ContentThe note's body.
LabelThe note's name, when the source format named it; null otherwise.
NoteIdThe 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; }