Open
Description
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)
- Content Source: xml/System.Windows.Forms/AmbientProperties.xml
- Product: .net
- GitHub Login: @dotnet-bot
- Microsoft Alias: dotnet-bot