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.11.0
Syntax
C#
bool TransparentBackgroundEnabled { get; set; }

Property Value

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

This property is supported for the OffScreen rendering mode on Windows.

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

See Also