Reputation: 1751
I have a problem that the border bottom on my datagrid is still visible even though I have set BorderThickness="0"
The following code is my datagrid markup:
<DataGrid ItemsSource="{Binding ProductInformations}" IsReadOnly="True"
HeadersVisibility="None" SelectionMode="Single" SelectionUnit="Cell"
BorderThickness="0" GridLinesVisibility="None"
HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" >
</DataGrid>
On the image there is a barely visible line "under the datagrid"
Any ideas what is causing this?
Upvotes: 0
Views: 155
Reputation: 1751
I managed to figure it out by changing the datagrid Background="White"
Looks like the default background color for the datagrid was showing a bit at the bottom of the grid.
Upvotes: 1