Property PreferredColorScheme
- Namespace
- DotNetBrowser.Browser
- Assembly
- DotNetBrowser.dll
PreferredColorScheme
Gets or sets the preferred color scheme for the web content in the browser.
PreferredColorScheme PreferredColorScheme { get; set; }
Property Value
- PreferredColorScheme
The preferred color scheme value.
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.
Exceptions
- ObjectDisposedException
The IBrowserSettings has already been disposed.
- ConnectionClosedException
The connection to the Chromium engine is closed.