dotnet / dotnet/dotnet-api-docs

DataGridCell.IsReadOnly documentation talks about setting the property while it is readonly.

Open
#4,522 3 comments 0 reactions 0 assignees View on GitHub
area-WPF bug Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

---
**Issue moved from MicrosoftDocs/feedback#2933**
- Please respond to @kunom.

---

_From @kunom on Friday, July 10, 2020 6:31:17 AM_

https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.datagridcell.isreadonly?view=netframework-4.6.2#System_Windows_Controls_DataGridCell_IsReadOnly

**Describe the bug**
The Remarks section says: _Set the IsReadOnly property to true to make an individual cell read-only_.

But the property is not assignable: `public bool IsReadOnly { get; }`.

So: either extend the implementation (which would be a good thing) or fix the documentation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.