I\'m using the WPF toolkit datagrid, and I\'d like to set the background color of a cell, not the row, based on the content of the cell.
For the sake of simplicity,
A slightly different approaching is, instead of targeting the TextBlock element, which often leaves a border around the control, to the DataGridCell itself instead. In my case I already had a style I wanted to inherit from, I just needed to change background colours depending on the value:
Might be of some use to people my situation.