SystemColorMode Enum
Definition
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
[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
Fields
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. |
Applies to
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.