Documents Namespace
Namespace Avalonia.Controls.Documents
Types
- Bold - Bold element - markup helper for indicating bolded content. Equivalent to a Span with FontWeight property set to FontWeights.Bold. Can contain other inline elements.
- Inline - Inline element.
- InlineCollection - A collection of Avalonia.Controls.Documents.Inlines.
- InlineUIContainer - InlineUIContainer - a wrapper for embedded UIElements in text flow content inline collections
- Italic - Italic element - markup helper for indicating italicized content. Equivalent to a Span with FontStyle property set to FontStyles.Italic. Can contain other inline elements.
- LineBreak - LineBreak element that forces a line breaking.
- MarkdownAlertBlock - A Avalonia.Controls.Documents.Section that represents a GitHub-style alert block
(
> [!NOTE]). Carries the alert kind ("Note", "Warning", ...) as a typed property so it survives element realization and is authorable through the FlowDocument API; the "alertBlock" + lowercased kind CSS classes remain the styling surface. - MarkdownCodeBlock - A Avalonia.Controls.Documents.Paragraph that represents a fenced code block. Carries the language identifier so the render layer can apply syntax highlighting without extra lookups.
- MarkdownHeading - A Avalonia.Controls.Documents.Paragraph that represents a markdown heading (H1-H6). Carries the heading level as a typed property so it survives element realization and is authorable through the FlowDocument API; the "header" / "h{level}" CSS classes remain the styling surface.
- MarkdownHtmlBlock - A Avalonia.Controls.Documents.Section that represents an HTML block from a markdown document. Its children are the rich elements the HTML converter produced; Avalonia.Controls.Documents.MarkdownHtmlBlock.RawHtml keeps the original source so an unedited block can be written back verbatim.
- MarkdownHtmlInline - A Avalonia.Controls.Documents.RichSpan that preserves an unrecognized inline HTML tag from a markdown document. Zero-length and invisible in the viewer; the markdown writer emits Avalonia.Controls.Documents.MarkdownHtmlInline.RawHtml verbatim.
- MarkdownImage - A Avalonia.Controls.Documents.RichImage that resolves its pixels from a URL through a Avalonia.Controls.MarkdownImageLoader. Carries the image URL and title; the image is loaded asynchronously when presented.
- MarkdownTaskListItem - A Avalonia.Controls.Documents.ListItem that represents a task list item (checkbox). Carries the checked state so the render layer can draw a checkbox instead of a bullet marker.
- Run - A terminal element in text flow hierarchy - contains a uniformatted run of unicode characters
- Span - Span element used for grouping other Inline elements.
- TextElement - TextElement is an base class for content in text based controls. TextElements span other content, applying property values or providing structural information.
- Underline - Underline element - markup helper for indicating superscript content. Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. Can contain other inline elements.