title: WPF DataGridTemplateColumn IsSelected ForgroundColor not working as expected
body: <p>I have a <code>DataGrid</code> that contains several <code>DataGridTemplateColumns</code>.
  My problem is that the currently selected row will turn some of the cells foregrounds to white, i.e. make the text white.
  <code>DataGridTemplateColumns</code> that contain TextBlocks behave correctly and turn white while <code>DataGridTemplateColumns</code> that contain TextBoxs do not change when the row is selected.</p>
  
  <p>Does anybody know why or how to fix this problem?</p>
  
  <p>I have tried this <a href="https://stackoverflow.com/questions/4104646/setting-the-text-colour-of-a-wpf-datagrid-row-when-row-is-selected">solution:</a> but it can only get TextBlocks to be affected, does anybody know what might be wrong?</p>