Modifier

Partager via


SystemColorMode Enum

Definition

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