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