有没有一种方法可以在Flowdocument中制作带有转角边框的表格?
这是我尝试过的方法(无效):
<FlowDocumentScrollViewer>
<FlowDocument>
<Table BorderThickness="1" BorderBrush="Black" CellSpacing="0" >
<Table.Columns>
<TableColumn Width="50" />
<TableColumn Width="200"/>
</Table.Columns>
<Table.Resources>
<Style TargetType="{x:Type Table}">
<Setter Property="OverridesDefaultStyle" Value="True"></Setter>
</Style>
<Style TargetType="{x:Type Border}">
<Setter Property="CornerRadius" Value="5"/>
</Style>
</Table.Resources>
<TableRowGroup >
<TableRow Background="LightBlue">
<TableCell BorderBrush="Black" BorderThickness="0.1">
<Paragraph>No.</Paragraph>
</TableCell>
<TableCell BorderBrush="Black" BorderThickness="0.1">
<Paragraph>Surname</Paragraph>
</TableCell>
</TableRow>
</TableRowGroup>
</Table>
</FlowDocument>
</FlowDocumentScrollViewer>
谢谢您的帮助!