PreferredColorScheme Enumeration |
The preferred color scheme for the web content in the browser.
Namespace:
DotNetBrowser.Browser
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.11.0
Syntax public enum PreferredColorScheme
Members
| Member name | Value | Description |
---|
| Unspecified | 0 |
The preferred color scheme has not been specified.
|
| Dark | 1 |
The dark color scheme is preferred.
|
| Light | 2 |
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