我试图设置DataGridCell BorderBrush,但看起来还有其他设置,这也设置了单元格之间的边框。
当前Style:
<Style x:Key="DataGridCellStyle1" TargetType="{x:Type DataGridCell}">
<Setter Property="BorderBrush" Value="Yellow"/>
</Style>看起来是这样的:

我不想看到那条黑色的边框。我只想要黄色边框。谁能帮我指一下,我在哪里可以设置“黑色”边框?
发布于 2016-04-22 09:38:26
DataGrid具有网格线的附加属性。
试着为这两种颜色设置黄色
VerticalGridLinesBrush="Yellow"
HorizontalGridLinesBrush="Yellow"或者把它们藏起来
GridLinesVisibility="None"https://stackoverflow.com/questions/36790132
复制相似问题