Click or drag to resize

PreferredColorScheme Enumeration

The preferred color scheme for the web content in the browser.

Namespace:  DotNetBrowser.Browser
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.12.0
Syntax
C#
public enum PreferredColorScheme
Members
  Member nameValueDescription
Unspecified0 The preferred color scheme has not been specified.
Dark1 The dark color scheme is preferred.
Light2 The light color scheme is preferred.
Remarks
The scheme is used to evaluate the prefers-color-scheme media query and resolve UA color scheme to be used based on the supported-color-schemes META tag and CSS property.
See Also