2012-11-29 68 views

回答

0
<Border Style="{StaticResource borderStyle}" BorderThickness={Binding BorderThickness, RelativeSource={RelativeSource AncestorType=DataGrid}}> 
    <!-- Cell content here --> 
</Border> 
+0

因此,您從我提供的鏈接複製並粘貼了代碼。真?! – Neville

+0

好吧,它不起作用。網格的外邊界比單個單元的邊界更薄。 – Neville