TableCell
OfficeIMO.Markdown
Typed table cell containing one or more markdown blocks.
Inheritance
- MarkdownObject
- TableCell
Usage
Explore 10 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 9
- Method MarkdownDocument.DescendantTableCells
- Property MarkdownNativeTableCell.SourceCell
- Method TableBlock.EnumerateCells
- Method TableBlock.GetCell
- Method TableBlock.GetHeaderCell
- Property TableBlock.HeaderCells
- Property TableBlock.RowCells
- Method TableRow.GetCell
- Property TableRow.Cells
Accepted by parameters 1
- Constructor TableRow.TableRow
Constructors
public TableCell(IEnumerable<IMarkdownBlock>? blocks = null) #Creates a typed table cell.
Parameters
- blocks System.Collections.Generic.IEnumerable<OfficeIMO.Markdown.IMarkdownBlock>? = null
Inherited Methods
public void Accept(MarkdownVisitor visitor) #Parameters
- visitor MarkdownVisitor
public IEnumerable<MarkdownObject> Ancestors() #Returns
IEnumerable<MarkdownObject>public IEnumerable<MarkdownObject> AncestorsAndSelf() #Returns
IEnumerable<MarkdownObject>public IEnumerable<TObject> DescendantObjectsOfType<TObject>() #Type Parameters
- TObject
Returns
IEnumerable<TObject>public IEnumerable<MarkdownObject> Descendants() #Returns
IEnumerable<MarkdownObject>Properties
public List<IMarkdownBlock> ChildBlocks { get; } #Structured child blocks owned by this table cell.
public bool IsHeader { get; internal set; } #Whether this cell belongs to the header row.
public int RowIndex { get; internal set; } #Zero-based data-row index for body cells; -1 for header cells.
public int ColumnIndex { get; internal set; } #Zero-based column index within the row.
public MarkdownColumnAlignment Alignment { get; set; } #Optional cell-level horizontal alignment override.
public string? BackgroundColor { get; set; } #Optional CSS-compatible cell background color token.
public string? TextColor { get; set; } #Optional CSS-compatible cell text color token.
public bool Bold { get; set; } #Whether cell text should be rendered with bold emphasis.
public bool Italic { get; set; } #Whether cell text should be rendered with italic emphasis.
public bool Underline { get; set; } #Whether cell text should be rendered with underline decoration.
public bool Strikethrough { get; set; } #Whether cell text should be rendered with strikethrough decoration.
public int ColumnSpan { get; set; } #Number of logical table columns covered by this cell.
Inherited Properties
public MarkdownSourceSpan? SourceSpan { get; internal set; } #public IReadOnlyList<MarkdownObject> ChildObjects { get; } #