c# - How do I add a new Table or Grid to a WPF TableCell? -
i can add text wpf table cell using:
cell.blocks.add(new paragraph(new run("example text")));
what i'd able add object within cell such table or grid. possible?
you cannot add grid
tablecell
... tablecell
can host elements deriving block
tablecell elements may host 1 or more flow content elements deriving block. valid content elements tablecell include:
blockuicontainer
list
paragraph
section
table
the easisest way add other elements tablecell
in xaml...
<tablecell><paragraph fontsize="14pt" fontweight="bold">planet</paragraph></tablecell>
Comments
Post a Comment