title: How to show Grid line in UniformGrid in code/xaml for WPF?
body: <p>I would like to know how to show grid line in UniformGrid for WPF. I know that it is easy to set Grid line in normal Grid, but I find that UniformGrid cannot set Grid line like that of normal Grid. It is good to give simple example for both of code and xaml because I want to be more flexible in programming. Thanks!</p>
  
  <pre><code>      // LOGIN PAGE
       //gameType is input by users.If gameType =3, it will form 3x3 uniform grid in GAMEPLAY PAGE
       GamePlay main = new GamePlay(gameType, playerNum); 
       App.Current.MainWindow = main;
       this.Close();
       main.Show();
  
       // GAMEPLAY PAGE
       // Form the required grid, I can form the grid correctly, but I want grid line to make it more clear
  </code></pre>