`DataGridCheckBoxColumn` not affected by `DataGrid.IsReadOnly = true`
Open
Nobody has claimed this yet.
bug
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Currently if you set DataGrid.IsReadOnly to true DataGridCheckBoxColumn stays mutable.
To Reproduce
Create a readonly DataGrid with a checkbox column.
Expected behavior
It gets readonly.
Screenshots
No response
OS version
Windows 11 24H2
.NET version
.NET Framework 4.8
WPF-UI NuGet version
4.0.2
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a read-only DataGrid containing a DataGridCheckBoxColumn on Windows and inspect the DataGridCheckBoxColumn and DataGrid.IsReadOnly behavior. Done means the checkbox column is no longer mutable when DataGrid.IsReadOnly is true, while existing editable behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100