dotnet / dotnet/dotnet-api-docs

Question regarding Remarks section

Aperta
#1,850 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area-WPF dotnet-api/prod Pri2 untriaged
Lingua principale
C#
Stelle
949
Fork
1.7k
Merge medio
2g 19h
PR unite (30g)
52

Descrizione

IsReadOnly just has a "get" access method yet the Remarks section instructs "Set the IsReadOnly property to true to make an individual cell read-only."
I would indeed like to make a cell read only. How is it possible to set the value of IsReadOnly to True.
I had set IsEnabled to False but that prevents me from selecting the GridRow that the cell in question is on or from scrolling past that row if I'm in that same column.

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: fec15a7b-23ce-48d0-a3e7-e4cb76112f0d
* Version Independent ID: 49cf81c9-cc3f-2ae8-5dd1-a703ce4da121
* Content: [DataGridCell.IsReadOnly Property (System.Windows.Controls)](https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.datagridcell.isreadonly?view=netframework-4.7.2)
* Content Source: [xml/System.Windows.Controls/DataGridCell.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Windows.Controls/DataGridCell.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia da xml/System.Windows.Controls/DataGridCell.xml ed esamina il testo Remarks di IsReadOnly e la documentazione circostante della proprietà. Chiarisci la contraddizione relativa all'impostazione di IsReadOnly, documenta l'utilizzo supportato se necessario e termina quando i Remarks spiegano accuratamente come rendere una cella di sola lettura.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.