HtmlBlock Class

Represents a group of lines that is treated as raw HTML (and will not be escaped in HTML output).

public class HtmlBlock : LeafBlock

See also

Inheritance
LeafBlock HtmlBlock

Constructors

NameDescription
HtmlBlock(BlockParser?)Initializes a new instance of the HtmlBlock class.

HtmlBlock(BlockParser?)

HtmlBlock.cs

Initializes a new instance of the HtmlBlock class.

public HtmlBlock(BlockParser? parser)

Parameters

parser BlockParser?
The parser.

Properties

NameDescription
TypeGets or sets the type of block.

Gets or sets the type of block.

public HtmlBlockType Type { get; set; }

Property value

HtmlBlockType