Click or drag to resize

IBrowserSettingsTransparentBackgroundEnabled Property

Enables or disables transparent background on the web pages.By default, the background is always opaque.

Namespace:  DotNetBrowser.Browser
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.23.2
Syntax
C#
bool TransparentBackgroundEnabled { get; set; }

Property Value

Type: Boolean
true if transparent background is enabled, false otherwise.
Exceptions
ExceptionCondition
ObjectDisposedException The IBrowserSettings has already been disposed.
ConnectionClosedExceptionThe connection to the Chromium engine is closed.
Remarks

This property supports only the OffScreen rendering mode on Windows and Linux, and the both rendering modes on macOS.

The attempt to set this property to true in the unsupported rendering mode will result in an exception.

See Also