WPF - DataGridCheckBoxColumn Issues
In WPF, how can I have a DataGridCheckBoxColumn that allows me to click the checkboxes without having to select the row first. It's weird that when I click the checkbox it selects the row rather than just clicking the checkbox
I have this which seems to work, but it doesn't seem to update the value in the model when the checkbox is clicked. It only gets updated when I click the cell and click away.
How can I fix it so that when I click the checkbox it updates the model?
3 Replies
Try and add this style to your data grid
Is there a way to apply that only to a specific column though? I wouldn't want that applied to text columns
See if it works at all first
Then you can use the style with a key probably