How to highlight cell programmatically in DataGrid?

Sep 17, 2009 at 9:46 AM

Hi all. Am using Datagrid in WPF Toolkit. i wanted to check a certain column in all the rows, then highlight a particular cell progrmmatically. Seems i cant find any way to do that. Does anyone here knows how to do it?


Sep 18, 2009 at 9:26 PM

Hi ricpda,

Please look at the DataGrid.SelectedCells property.  You can use this to find the cells that are selected, and you can also use it programatically to select cells in your DataGrid.


Saied K