Select to view content in your preferred language

How to check and uncheck multiple checkboxes in a DataGrid?

04-15-2019 03:38 AM
New Contributor III

Hi there

I have a DataGrid which contains a checkbox for each item in an ObsevableCollection. At the moment I can check and uncheck the checkboxes but only one at a time. I would like to be able to select multiple rows of the DataGrid and check or uncheck the whole selection by checking one checkbox of the selected items.

I have SelectionMode="Extended" which allowed me to select multiple rows until I added the checkboxes. Now it doesn't seem to be doing anything. Can anyone help?

Thanks in advance.

Tags (2)
0 Kudos
0 Replies