title: How i can get the value of cell in datagrid in wpf?
body: <p>I have a datagrid, with a number of rows. I want to get the value of cell[0]. 
  In the window form I was using this code:</p>
  
  <pre><code> for (int i = 0; i &lt; dataGridView1.Rows.Count; i++)
          {
              if (dataGridView1.Rows[i].Cells[0].Value == null)
              {
                  //do somthing
              }
           }
  </code></pre>
  
  <p>The problem is, I do not know how to get the value of the cell, as this code does not work in WPF.</p>