I googled around but I did't find any really useful stuff;
my purpose is to display a specified DataTemplate
for a specified Class
:
<FlowDocumentScrollViewer>
<FlowDocument>
<Table BorderBrush="Black" BorderThickness="1" CellSpacing="0">
<Table.Columns>
<TableColumn></TableColumn>
<TableColumn></TableColumn>
<TableColumn></TableColumn>
<TableColumn></TableColumn>
</Table.Columns>
<Table.RowGroups>
<TableRowGroup >
<TableRow>
<TableCell>DataTemplate1</TableCell>//class1
<TableCell>DataTemplate2</TableCell>//class2
<TableCell>DataTemplate3</TableCell>//class3
<TableCell>DataTemplate4</TableCell>//class4
</TableRow>
</TableRowGroup>
</Table.RowGroups>
</Table>
</FlowDocument>
</FlowDocumentScrollViewer>
Important it must be a XAML only solution because I load this xaml per XamlReader.Load()
so there wont be a codebehind file.