Edit

Share via


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.

C#
[System.Diagnostics.CodeAnalysis.Experimental("WFO5001", UrlFormat="https://aka.ms/winforms-warnings/{0}")]
public enum SystemColorMode
Inheritance
SystemColorMode
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

Product Versions
Windows Desktop 9, 10