Table of Contents

Property PreferredColorScheme

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

PreferredColorScheme

Sets the overall color scheme of the WebBrowser.

WebBrowserPreferredColorScheme PreferredColorScheme { get; set; }

Property Value

WebBrowserPreferredColorScheme

A WebBrowserPreferredColorScheme representing the overall color scheme of the WebBrowser.

Remarks

This property sets the color scheme for WebBrowser UI like dialogs, prompts and menus. The default value is Auto, which will follow whatever color scheme the operating system is currently set to.

This property works only for the Edge backend.

Use this property only inside the Loaded event.