API Reference
TableCell
Typed table cell containing one or more markdown blocks.
Inheritance
- MarkdownObject
- TableCell
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method MarkdownDoc.DescendantTableCells
- Property MarkdownNativeTableCell.SourceCell
- Method TableBlock.EnumerateCells
- Method TableBlock.GetCell
- Method TableBlock.GetHeaderCell
- Property TableBlock.HeaderCells
- Property TableBlock.RowCells
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) #VoidParameters
- visitor MarkdownVisitor
public IEnumerable<MarkdownObject> Ancestors() #IEnumerable<MarkdownObject>public IEnumerable<MarkdownObject> AncestorsAndSelf() #IEnumerable<MarkdownObject>public IEnumerable<TObject> DescendantObjectsOfType<TObject>() #IEnumerable<TObject>Type Parameters
- TObject
public IEnumerable<MarkdownObject> Descendants() #IEnumerable<MarkdownObject>public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public List<IMarkdownBlock> Blocks { get; } #Structured cell content.
SyntaxChildren #Owned syntax nodes for the structured cell body.
public Boolean IsHeader { get; set; } #Whether this cell belongs to the header row.
public Int32 RowIndex { get; set; } #Zero-based data-row index for body cells; -1 for header cells.
public Int32 ColumnIndex { get; set; } #Zero-based column index within the row.
public ColumnAlignment 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 Boolean Bold { get; set; } #Whether cell text should be rendered with bold emphasis.
public Boolean Italic { get; set; } #Whether cell text should be rendered with italic emphasis.
public Boolean Underline { get; set; } #Whether cell text should be rendered with underline decoration.
public Boolean Strikethrough { get; set; } #Whether cell text should be rendered with strikethrough decoration.
public Int32 ColumnSpan { get; set; } #Number of logical table columns covered by this cell.
public Int32 RowSpan { get; set; } #Number of logical table rows covered by this cell.
public String Markdown { get; } #Markdown representation of the full cell body.
Inherited Properties
public MarkdownObject Parent { get; } #public MarkdownDoc Document { get; } #public MarkdownObject Root { get; } #public Nullable<Int32> IndexInParent { get; } #public MarkdownObject PreviousSibling { get; } #public MarkdownObject NextSibling { get; } #public Nullable<MarkdownSourceSpan> SourceSpan { get; set; } #public IReadOnlyList<MarkdownObject> ChildObjects { get; } #