SystemColorMode Enum
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public enum class SystemColorMode
C#
[System.Diagnostics.CodeAnalysis.Experimental("WFO5001", UrlFormat="https://aka.ms/winforms-warnings/{0}")]
public enum SystemColorMode
[<System.Diagnostics.CodeAnalysis.Experimental("WFO5001", UrlFormat="https://aka.ms/winforms-warnings/{0}")>]
type SystemColorMode =
Public Enum SystemColorMode
- Inheritance
- Attributes
Name | Value | Description |
---|---|---|
Classic | 0 | Dark mode for the current context is or should be disabled. |
System | 1 | The setting for the current system color mode is inherited from the Windows OS. |
Dark | 2 | Dark mode for the current context is enabled. |
Product | Versions |
---|---|
Windows Desktop | 9, 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: