Solution to hard to check CheckBox when using a DataGridCheckBoxColumn without a Label in WPF

When you have a DataGridCheckBoxColumn without an associate label it is very difficult to check and uncheck the CheckBox.

I know this solution makes no sense, but it works.

In your Xaml add this markup.

1
2
3
4
5
<DataGridCheckBoxColumn>
<DataGridCheckBoxColumn.ElementStyle>
<Style />
</DataGridCheckBoxColumn.ElementStyle>
</DataGridCheckBoxColumn>

Share