Leaf Class

Base class for markdown leaf block nodes.

Namespace: Radzen.Documents.Markdown

Assembly: Radzen.Blazor.dll

Syntax

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

Constructors

LeafLink to this section

Base class for markdown leaf block nodes.

Declaration
protected Leaf()

Properties

ChildrenLink to this section

Gets the children of the leaf node.

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

ValueLink to this section

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 to this section

Appends a child to the leaf node.

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