Class Leaf
Base class for markdown leaf block nodes.
Inherited Members
Namespace: Radzen.Blazor.Markdown
Assembly: Radzen.Blazor.dll
Syntax
public abstract class Leaf : Block, INode, IBlockInlineContainer
Constructors
Leaf()
Base class for markdown leaf block nodes.
Declaration
protected Leaf()
Properties
Children
Gets the children of the leaf node.
Declaration
public IReadOnlyList<Inline> Children { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<Inline> |
Value
Gets or sets the value of the leaf node.
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Add(Inline)
Appends a child to the leaf node.
Declaration
public void Add(Inline node)
Parameters
Type | Name | Description |
---|---|---|
Inline | node |