Skip to main content

FootnoteCitationInlineDraft Class

Definition​

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

Inline draft for a further citation of a note that already has its anchor. The builder inserts a single object replacement character for it, as it does for the anchor: the number both show is the note's position among the document's notes, resolved at render time rather than stored.

public class FootnoteCitationInlineDraft

Inheritance: object -> InlineDraft -> FootnoteCitationInlineDraft

Constructors​

FootnoteCitationInlineDraft Constructor​

Initializes a new instance of Avalonia.Controls.Documents.Serialization.Authoring.FootnoteCitationInlineDraft.

public FootnoteCitationInlineDraft(int noteId)

Parameters​

noteId int

The identity of the note this citation points at - the id its anchor carries.

Methods​

NameDescription
GetFormatMetadataInherited from InlineDraft.
SetFormatMetadataInherited from InlineDraft.

Properties​

NameDescription
CustomDataExtension-specific custom data. Transferred to the resulting Avalonia.Controls.Documents.Serialization.Snapshot.SnapshotNode.CustomData during document building. Inherited from InlineDraft.
ElementFormattingBase-level element formatting (font, foreground, background, letter spacing). Inherited from InlineDraft.
FormatMetadataFormat-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.
FormattingInline-specific formatting (text decorations, baseline alignment). Inherited from InlineDraft.
InlinesGets the mutable list of child inline drafts. Inherited from InlineDraft.
KindGets the Avalonia.Controls.Documents.TextModel.TextDocumentNodeKind that identifies this draft's inline type. Inherited from InlineDraft.
NoteIdGets the identity of the note this citation points at.

NoteId Property​

Gets the identity of the note this citation points at.

public int NoteId { get; set; }