FootnoteReferenceInlineDraft Class
Definition
Inline draft for a footnote anchor. The builder inserts a single object replacement character for it: the number the anchor shows is its note's position among the document's notes, resolved at render time rather than stored.
public class FootnoteReferenceInlineDraft
Constructors
| Name | Description |
|---|---|
| FootnoteReferenceInlineDraft | Initializes a new instance of Avalonia.Controls.Documents.Serialization.Authoring.FootnoteReferenceInlineDraft. |
FootnoteReferenceInlineDraft Constructor
Initializes a new instance of Avalonia.Controls.Documents.Serialization.Authoring.FootnoteReferenceInlineDraft.
public FootnoteReferenceInlineDraft(int noteId)
Parameters
noteId int
The identity pairing the anchor with its note body.
Methods
| Name | Description |
|---|---|
| GetFormatMetadata | Inherited from InlineDraft. |
| SetFormatMetadata | Inherited from InlineDraft. |
Properties
| Name | Description |
|---|---|
| CustomData | Extension-specific custom data. Transferred to the resulting Avalonia.Controls.Documents.Serialization.Snapshot.SnapshotNode.CustomData during document building. Inherited from InlineDraft. |
| ElementFormatting | Base-level element formatting (font, foreground, background, letter spacing). Inherited from InlineDraft. |
| FormatMetadata | Format-specific metadata for round-trip preservation (e.g. RTF underline variant). Transferred to the resulting Avalonia.Controls.Documents.Serialization.Snapshot.SnapshotNode during document building. Inherited from InlineDraft. |
| Formatting | Inline-specific formatting (text decorations, baseline alignment). Inherited from InlineDraft. |
| Inlines | Gets the mutable list of child inline drafts. Inherited from InlineDraft. |
| Kind | Gets the Avalonia.Controls.Documents.TextModel.TextDocumentNodeKind that identifies this draft's inline type. Inherited from InlineDraft. |
| NoteId | Gets the identity pairing the anchor with its note body. |
NoteId Property
Gets the identity pairing the anchor with its note body.
public int NoteId { get; set; }