編輯

共用方式為


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