Base class for a markdown block nodes.
Namespace: Radzen.Blazor.Markdown
Assembly: Radzen.Blazor.dll
public abstract class Block : Markdown.INodeReturns the first child of the block.
public Markdown.Block FirstChild { get; }
| Type | Description |
|---|---|
| Markdown.Block | Returns the first child of the block. |
Returns the last child of the block.
public Markdown.Block LastChild { get; }
| Type | Description |
|---|---|
| Markdown.Block | Returns the last child of the block. |
Returns the next sibling of the block.
public Markdown.Block Next { get; }
| Type | Description |
|---|---|
| Markdown.Block | Returns the next sibling of the block. |
Returns the parent node of the block.
public Markdown.BlockContainer Parent { get; set; }
| Type | Description |
|---|---|
| Markdown.BlockContainer | Returns the parent node of the block. |
Accepts a visitor.
public abstract void Accept(Markdown.INodeVisitor visitor)
| Type | Name | Description |
|---|---|---|
| Markdown.INodeVisitor | visitor | The visitor to accept. |