dotnet / dotnet/dotnet-api-docs

Request for clarification on value taking from owner and ability to unset a local value

Aperta
#810 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
.net/prod area-WinForms Pri2 waiting-on-feedback
Lingua principale
C#
Stelle
949
Fork
1.7k
Merge medio
2g 19h
PR unite (30g)
52

Descrizione

When is the value retrieved from the parent? On construction? On property access?

Is it possible to "unset" the ambient property so that it will no longer use a (temporary) local value but the parents again? (e.g. for temporarily setting Form.Cursor to WaitCursor and then returning to using the parents)

---
#### Document Details

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

* ID: a19792a8-cf3a-ccb9-e346-6d8db28de034
* Version Independent ID: 26385aee-80b5-9df5-ba0e-6a9c0b679d17
* Content: [AmbientProperties Class (System.Windows.Forms)](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.ambientproperties?view=netframework-4.7.2)
* Content Source: [xml/System.Windows.Forms/AmbientProperties.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.Windows.Forms/AmbientProperties.xml)
* Product: **.net**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnet-bot**

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con xml/System.Windows.Forms/AmbientProperties.xml e il riferimento API di AmbientProperties collegato. Verifica quando i valori vengono recuperati dall'elemento padre e se è possibile annullare l'impostazione di un valore ambient locale, quindi aggiorna la documentazione in modo che entrambe le domande abbiano risposte esplicite.

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

Valutazione

Stack tecnologico
csharp
Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.