表(Flowdocument)边框样式

有没有一种方法可以在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>

谢谢您的帮助!

dwrdwr245 回答:表(Flowdocument)边框样式

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2533391.html

大家都在问