title: DataGrid: How to remove black inner borders?
body: <p>I have a datagrid:</p>
  
  <pre><code>&lt;DataGrid x:Name="gvImports" 
      HorizontalAlignment="Left" 
      AutoGenerateColumns="False" 
      Margin="10,36.816,0,0" 
      VerticalAlignment="Top" 
      Height="163.087" Width="485.05"&gt;
  &lt;/DataGrid&gt;
  </code></pre>
  
  <p>Then I am setting the cell border style in C#:</p>
  
  <pre><code>var cellStyle = new Style(typeof(DataGridCell));
  cellStyle.Setters.Add
        (new Setter(DataGridCell.BorderBrushProperty, Brushes.Magenta));
  gvImports.CellStyle = cellStyle;
  </code></pre>
  
  <p>Notice the offensive Magenta for demonstration purposes only. </p>
  
  <p>Here is an image of the DataGrid when rendered:</p>
  
  <p><img src="https://i.stack.imgur.com/iEM2X.png" alt="enter image description here"></p>
  
  <p>I want to get rid of those inner black lines, any idea how this is done?</p>