Block Class

Base class for a markdown block nodes.

Implements

Namespace: Radzen.Blazor.Markdown

Assembly: Radzen.Blazor.dll

Syntax

public abstract class Block : Markdown.INode

Constructors

Blocklink

Base class for a markdown block nodes.

Declaration
protected Block()

Properties

FirstChildlink

Returns the first child of the block.

Declaration
public Markdown.Block FirstChild { get; }
Property Value
Type Description
Markdown.BlockReturns the first child of the block.

LastChildlink

Returns the last child of the block.

Declaration
public Markdown.Block LastChild { get; }
Property Value
Type Description
Markdown.BlockReturns the last child of the block.

Nextlink

Returns the next sibling of the block.

Declaration
public Markdown.Block Next { get; }
Property Value
Type Description
Markdown.BlockReturns the next sibling of the block.

Parentlink

Returns the parent node of the block.

Declaration
public Markdown.BlockContainer Parent { get; set; }
Property Value
Type Description
Markdown.BlockContainerReturns the parent node of the block.

Methods

Acceptlink

Accepts a visitor.

Declaration
public abstract void Accept(Markdown.INodeVisitor visitor)
Parameters
Type Name Description
Markdown.INodeVisitor visitor The visitor to accept.

Removelink

Removes the block from its parent.

Declaration
public void Remove()
An error has occurred. This app may no longer respond until reloaded. Reload 🗙