Leaf Class

Base class for markdown leaf block nodes.

Namespace: Radzen.Blazor.Markdown

Assembly: Radzen.Blazor.dll

Syntax

public abstract class Leaf : Markdown.Block, Markdown.INode, Markdown.IBlockInlineContainer

Constructors

Leaflink

Base class for markdown leaf block nodes.

Declaration
protected Leaf()

Properties

Childrenlink

Gets the children of the leaf node.

Declaration
public IReadOnlyList<Markdown.Inline> Children { get; }
Property Value
Type Description
IReadOnlyList<Markdown.Inline>Gets the children of the leaf node.

Valuelink

Gets or sets the value of the leaf node.

Declaration
public string Value { get; set; }
Property Value
Type Description
stringGets or sets the value of the leaf node.

Methods

Addlink

Appends a child to the leaf node.

Declaration
public void Add(Markdown.Inline node)
Parameters
Type Name Description
Markdown.Inline node
An error has occurred. This app may no longer respond until reloaded. Reload 🗙