Represents a table cell in a Markdown table.
Object
Namespace: Radzen.Blazor.Markdown
Assembly: Radzen.Blazor.dll
public class TableCell : Markdown.INode, Markdown.IBlockInlineContainerInitializes a new instance of the TableCell class.
public TableCell(string value, Markdown.TableCellAlignment alignment)
| Type | Name | Description |
|---|---|---|
| string | value | The value of the cell. |
| Markdown.TableCellAlignment | alignment | The alignment of the cell. |
Gets the alignment of the table cell.
public Markdown.TableCellAlignment Alignment { get; }
| Type | Description |
|---|---|
| Markdown.TableCellAlignment | Gets the alignment of the table cell. |
Gets the children of the table cell.
public IReadOnlyList<Markdown.Inline> Children { get; }
| Type | Description |
|---|---|
| IReadOnlyList<Markdown.Inline> | Gets the children of the table cell. |
Gets or sets the inline content of the cell.
public string Value { get; set; }
| Type | Description |
|---|---|
| string | Gets or sets the inline content of the cell. |
public void Accept(Markdown.INodeVisitor visitor)
| Type | Name | Description |
|---|---|---|
| Markdown.INodeVisitor | visitor |
Appends a child to table cell.
public void Add(Markdown.Inline node)
| Type | Name | Description |
|---|---|---|
| Markdown.Inline | node | The inline node to add. |