Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

TableCell

OfficeIMO.Markdown

Namespace
OfficeIMO.Markdown
Assembly
OfficeIMO.Markdown
Source revision
0eef6a5756b9 with working tree changes
Implements
IChildMarkdownBlockContainer ISyntaxChildrenMarkdownBlock IOwnedSyntaxChildrenMarkdownBlock
Modifiers
sealed

Typed table cell containing one or more markdown blocks.

Inheritance

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.

Accepted by parameters 1

Constructors

public TableCell(IEnumerable<IMarkdownBlock>? blocks = null) #

Creates a typed table cell.

Parameters

blocks System.Collections.Generic.IEnumerable<OfficeIMO.Markdown.IMarkdownBlock>? = null optional

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.

public int RowSpan { get; set; } #

Number of logical table rows covered by this cell.

public string Markdown { get; } #

Markdown representation of the full cell body.