DataGrid Disable Row Selection

Aug 6, 2009 at 9:49 PM

Is there any way to disable row selection in the datagrid?  I have tried to handle the SelectionChanged event and set the SelectedIndex to -1, but that seems to have no effect.