Block Class

Base class for a markdown block nodes.

Namespace: Radzen.Documents.Markdown

Assembly: Radzen.Blazor.dll

Syntax

public abstract class Block : Documents.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 Documents.Markdown.Block FirstChild { get; }
Property Value
Type Description
Documents.Markdown.BlockReturns the first child of the block.

LastChildlink

Returns the last child of the block.

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

Nextlink

Returns the next sibling of the block.

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

Parentlink

Returns the parent node of the block.

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

Methods

Acceptlink

Accepts a visitor.

Declaration
public abstract void Accept(Documents.Markdown.INodeVisitor visitor)
Parameters
Type Name Description
Documents.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 🗙