I have a DataGrid
in my Silverlight application, and would like to "highlight" an entire column when any cell in that column is selected.
E.g., given this grid (where "[ ]
" represents a cell):
[ ][ ][ ]
[ ][ ][ ]
[ ][ ][ ]
If I select a cell, like this
[ ][ selected ][ ]
[ ][ ][ ]
[ ][ ][ ]
I would like all the cells in that column, including the selected cell, to be "highlighted" (can be as simple as just changing the background color):
[ ][ selected ][ ]
[ ][ highlighted ][ ]
[ ][ highlighted ][ ]
Is there an easy way to do this? Thanks!