Skip to main content

MarkdownHtmlBlock Class

Definition

Assembly:Avalonia.Controls.Markdown
Package:Avalonia.Controls.Markdown

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.

public class MarkdownHtmlBlock

Inheritance: Section -> MarkdownHtmlBlock

Constructors

NameDescription
MarkdownHtmlBlockNo summary available.

MarkdownHtmlBlock Constructor

public MarkdownHtmlBlock()

Properties

NameDescription
RawHtmlGets or sets the raw HTML source of the block.

RawHtml Property

Gets or sets the raw HTML source of the block.

public string RawHtml { get; set; }

Fields

RawHtmlProperty Field

Defines the Avalonia.Controls.Documents.MarkdownHtmlBlock.RawHtml property.

public Avalonia.StyledProperty<string> RawHtmlProperty