How can I prevent row selection in the WPF Toolkit DataGrid?

Posted by Kilhoffer on Stack Overflow See other posts from Stack Overflow or by Kilhoffer
Published on 2010-05-04T12:54:28Z Indexed on 2010/05/04 12:58 UTC
Read the original article Hit count: 263

Filed under:
|
|

I see a few options available for row selection, but 'No Selection' is not one of them. I've tried handling the SelectionChanged event by setting SelectedItem to null, but the row still seems selected.

If there is no easy support for preventing this, would it be easy to just style the selected row the same as an unselected one? That way it could be selected, but the user has no visual indicator.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about wpftoolkit