WPF - V2012.3.1224.40 - VS2010
Hello,
I have programmatically added one table in another:
The outer table cells have red borders and inner table cells have gray borders (see attached image).
After the inner table there is a vertical space.
Hello,
I have programmatically added one table in another:
Table l_Table =
new
Table();
l_Table.LayoutMode = TableLayoutMode.AutoFit;
ownerSection.Blocks.Add(l_Table);
foreach
(IFeatureViewModel l_Node
in
treeViewModel.Nodes)
{
TableRow l_Row =
new
TableRow(); l_Table.Rows.Add(l_Row);
Table l_InnerTable =
new
Table();
l_InnerTable.LayoutMode = TableLayoutMode.AutoFit;
TableCell l_InnerCell =
new
TableCell(); l_Row.Cells.Add(l_InnerCell);
l_InnerCell.Borders =
new
TableCellBorders(0.5f, BorderStyle.Single, System.Windows.Media.Colors.Red);
l_InnerCell.Blocks.Add(l_InnerTable);
TableRow l_InnerRow =
new
TableRow(); l_InnerTable.Rows.Add(l_InnerRow);
....
The outer table cells have red borders and inner table cells have gray borders (see attached image).