Demos About Radzen
Search Results for

    Show / Hide Table of Contents

    Class Block

    Base class for a markdown block nodes.

    Inheritance
    object
    Block
    BlockContainer
    Leaf
    ThematicBreak
    Implements
    INode
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    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()

    Implements

    INode

    Introducing Radzen Blazor Studio

    Radzen Blazor Studio is a software development environment that empowers developers to design, build and deploy Blazor applications without the traditional hurdles. Write less code and get more done.

    Learn More

    Download Now
    Download Now
    In This Article
    Back to top Radzen Blazor Components, © 2018-2025 Radzen. Source Code licensed under MIT