it sounds like the problem lies with the default styling of the DataGrid and how it renders its columns and rows. Even though you've set the BorderThickness of the DataGridCell to 0, the gridlines of the DataGrid itself can still cause visual borders.To remove the right border from your DataGrid cells, you might want to adjust the GridLinesVisibility property:
<DataGrid GridLinesVisibility="Vertical" ...>
This will show only the vertical gridlines, removing the horizontal ones.If that doesn't solve the issue, another trick you can try is to set a negative margin on the right side of the DataGrid columns, which effectively hides the rightmost border:
<DataGridTemplateColumn ...>
<DataGridTemplateColumn.CellStyle>
<Style TargetType="DataGridCell">
<Setter Property="Margin" Value="0,0,-1,0"/>
</Style>
</DataGridTemplateColumn.CellStyle>
...
</DataGridTemplateColumn
This will effectively "shift" the content of each cell to the right, overlaying the border.However, be cautious when using negative margins as they can sometimes lead to unexpected layout behaviors. Always check the result in various scenarios to ensure it meets your requirements. Hope one of these suggestions helps!