Class Block
Base class for a markdown block nodes.
Implements
Inherited Members
Namespace: Radzen.Blazor.Markdown
Assembly: Radzen.Blazor.dll
Syntax
public abstract class Block : INode
Constructors
Block()
Base class for a markdown block nodes.
Declaration
protected Block()
Properties
FirstChild
Returns the first child of the block.
Declaration
public virtual Block? FirstChild { get; }
Property Value
Type | Description |
---|---|
Block |
LastChild
Returns the last child of the block.
Declaration
public virtual Block? LastChild { get; }
Property Value
Type | Description |
---|---|
Block |
Next
Returns the next sibling of the block.
Declaration
public virtual Block? Next { get; }
Property Value
Type | Description |
---|---|
Block |
Parent
Returns the parent node of the block.
Declaration
public BlockContainer Parent { get; set; }
Property Value
Type | Description |
---|---|
BlockContainer |
Methods
Accept(INodeVisitor)
Accepts a visitor.
Declaration
public abstract void Accept(INodeVisitor visitor)
Parameters
Type | Name | Description |
---|---|---|
INodeVisitor | visitor |
Remove()
Removes the block from its parent.
Declaration
public void Remove()