Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用这种技术在 Silverlight 中创建了一个带边框的表格:
如何在 Silverlight 中创建带边框的表格?
工作正常,除了网格的外边界是所有其他内单元格边界厚度的一半,这看起来很糟糕。如何让我的“表格”的所有边框都相同,包括整个网格的外边框?
<Border Style="{StaticResource borderStyle}" BorderThickness={Binding BorderThickness, RelativeSource={RelativeSource AncestorType=DataGrid}}> <!-- Cell content here --> </Border>