1
DataGridColumnHeader.BorderThickness = 0은 저에게는 효과적이지만 DataGridRow 또는 DataGridCell에는 효과가 없습니다.WPF DataGridCell BorderThickness = 0이 작동하지 않습니다.
<DataGrid x:Name="dg">
<DataGrid.Resources>
<Style TargetType="DataGrid">
<Setter Property="Background" Value="Transparent" />
<Setter Property="BorderThickness" Value="0" />
</Style>
<Style TargetType="DataGridColumnHeader">
<Setter Property="Background" Value="Transparent" />
<Setter Property="BorderBrush" Value="Black" />
<Setter Property="BorderThickness" Value="0 0 0 1" />
</Style>
</DataGrid.Resources>
</DataGrid>
결과 :이 None
GridLinesVisibility
에 속성을 설정함으로써 달성 될 수
대단히 감사합니다. 이걸 도와 줄 수있어? [link] (http://stackoverflow.com/questions/28163775/wpf-datagridcolumnwidth-doesnt-work-well-when-printvisual) – alkk