title: Get hidden value from wpf datagrid
body: <p>Can i get value Hidden column from DataGrid?</p>
  
  <pre><code>&lt;DataGridTextColumn Header="" Width="10" Binding="{Binding id}"  Visibility="Hidden"/&gt;
  </code></pre>
  
  <p>Using this code, i get exception.</p>
  
  <pre><code>Data.IdServ = ((TextBlock)DataGridService.Columns[1].GetCellContent(row)).Text;
  
  
  if (dgUserEnroll.SelectedItem != null)
  {
    var data = (User)dgUserEnroll.SelectedItem;
    var userID = data.UserId;
   }
  </code></pre>
  
  <p>this is a not option, because i have tableadapter when receiveng data</p>