title: How to highlight the border lines of a Grid control
body: <p>I have wrote some code in order to add 100 x 100 cells to a grid. The thing is that I would like to highlight the lines that split the rows/column of the grid.</p>
  
  <p>What properties should I use, or how should I do that?</p>
  
  <p>Bellow is the code for creating the grid cells :</p>
  
  <pre><code>public partial class MainWindow : Window
  {
      public MainWindow()
      {
          InitializeComponent();
  
          for (int i = 0; i &lt; 100 ; i++)
  
              layoutGrid.RowDefinitions.Add( new RowDefinition {  } );
          for (int i = 0; i &lt; 100; i++)
              layoutGrid.ColumnDefinitions.Add(new ColumnDefinition { });
  
      }
  }
  </code></pre>