dotnet / dotnet/dotnet-api-docs

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

Offen
#810 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
.net/prod area-WinForms Pri2 waiting-on-feedback
Vorherrschende Sprache
C#
Sterne
949
Forks
1.7k
Ø Merge
2 T. 19 Std.
Gemergte PRs (30 T.)
52

Beschreibung

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**

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie mit xml/System.Windows.Forms/AmbientProperties.xml und der verknüpften AmbientProperties API-Referenz. Untersuchen Sie, wann Werte vom übergeordneten Element abgerufen werden und ob ein lokaler Ambient-Wert aufgehoben werden kann, und aktualisieren Sie anschließend die Dokumentation, sodass beide Fragen ausdrücklich beantwortet werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.