IBrowserSettingsPreferredColorScheme Property |
Gets or sets the preferred color scheme for the web content in the browser.
Namespace:
DotNetBrowser.Browser
Assembly:
DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.4
Syntax PreferredColorScheme PreferredColorScheme { get; set; }
Property Value
Type:
PreferredColorSchemeThe preferred color scheme value.
Exceptions 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