TableCell Class

Represents a table cell in a Markdown table.

Inheritance

Object

Markdown.TableCell

Namespace: Radzen.Blazor.Markdown

Assembly: Radzen.Blazor.dll

Syntax

public class TableCell : Markdown.INode, Markdown.IBlockInlineContainer

Constructors

TableCelllink

Initializes a new instance of the TableCell class.

Declaration
public TableCell(string value, Markdown.TableCellAlignment alignment)
Parameters
Type Name Description
string value The value of the cell.
Markdown.TableCellAlignment alignment The alignment of the cell.

Properties

Alignmentlink

Gets the alignment of the table cell.

Declaration
public Markdown.TableCellAlignment Alignment { get; }
Property Value
Type Description
Markdown.TableCellAlignmentGets the alignment of the table cell.

Childrenlink

Gets the children of the table cell.

Declaration
public IReadOnlyList<Markdown.Inline> Children { get; }
Property Value
Type Description
IReadOnlyList<Markdown.Inline>Gets the children of the table cell.

Valuelink

Gets or sets the inline content of the cell.

Declaration
public string Value { get; set; }
Property Value
Type Description
stringGets or sets the inline content of the cell.

Methods

Acceptlink

Declaration
public void Accept(Markdown.INodeVisitor visitor)
Parameters
Type Name Description
Markdown.INodeVisitor visitor

Addlink

Appends a child to table cell.

Declaration
public void Add(Markdown.Inline node)
Parameters
Type Name Description
Markdown.Inline node The inline node to add.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙