Column & Row Header styling

Oct 30, 2008 at 1:03 AM

here is what I'd like to do...

I have a datagrid with multiple columns. Let's say I click on a cell that belongs to the second row and second column.
In response I would like to make the color of the second row rowheader  and the second column columnheader to change (this
is typical behavior in Excel)
I believe this could be done with DataTriggers but I just cannot figure out what properties I should bind to.
I have been studying vinsibal's blog on styling rows and columns but I simply can not apply it to my case.

Could someone post a quick example of how this could be done?