Selecting a disabled DataGridCheckBoxColumn re-enables the checkbox until you deselect the DataGridCheckBoxColumn
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Selecting-a-disabled-DataGridCheckBoxCol/10582680)._
---
\[severity:I’m unable to use this version\]
Here is a minimum reproducible environment. [https://github.com/GNUGradyn/WPFCheckboxMRE](https://github.com/GNUGradyn/WPFCheckboxMRE)
As you can see in the main window XAML, all 5 columns have all of their checkboxes unconditionally disabled
```
```
However, if you select one of these cells, the cells checkbox becomes enabled again until you click back out of it.
[2024-02-10 19-03-57.mp4](https://aka.ms/dc/file?name=Bf769dc7036ab4312ae1c876e08a46cea638432139394999528_2024-02-10_19-03-57.mp4&tid=f769dc7036ab4312ae1c876e08a46cea638432139394999528)
This effectively makes it impossible to disable a checkbox. I am working in .NET framework 4.8 and using wpf
---
### Original Comments
#### Feedback Bot on 2/11/2024, 02:59 PM:
(private comment, text removed)
#### Feedback Bot on 6/4/2024, 10:53 AM:
(private comment, text removed)
---
### Original Solutions
#### Gradyn Wursten solved on 2/11/2024, 09:07 AM, 0 votes:
As a workaround you can use a DataGridTemplateColumn containing a normal Checkbox. This is a pain but better then not being able to disable the checkbox
Contributor guide
Assessment
This issue has not been assessed yet.