Click or drag to resize

IBrowserSettings Interface

The settings of the browser.

Namespace:  DotNetBrowser.Browser
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.27.7
Syntax
C#
public interface IBrowserSettings : IAutoDisposable

The IBrowserSettings type exposes the following members.

Properties
  NameDescription
Public propertyAllowJavaScriptAccessClipboard
Allows or disallows JavaScript code on the web pages loaded in the browser to access clipboard.
Public propertyAllowLoadingImagesAutomatically
Allows or disallows loading images automatically on the web pages loaded in the browser.
Public propertyAllowRunningInsecureContent
Allows or disallows running an insecure content in the browser.
Public propertyAllowScriptsToCloseWindows
Allows or disallows JavaScript code on the web pages loaded in the browser to close the browser.
Public propertyDefaultBackgroundColor
Gets or sets the default browser background color.
Public propertyDefaultEncoding
Gets or sets the default text encoding.
Public propertyDefaultFontSize
Gets or sets the default browser font size.
Public propertyImagesEnabled
Enables or disables images displaying on the web pages loaded in the browser.
Public propertyIsDisposed
Indicates if the object is already disposed.
(Inherited from IAutoDisposable.)
Public propertyJavaScriptEnabled
Enables or disables JavaScript on the web pages loaded in the browser.
Public propertyLocalStorageEnabled
Enables or disables the local storage in the browser.
Public propertyOverscrollHistoryNavigationEnabled
Enables or disables the back/forward navigation with a left/right swipe in the browser.
Public propertyPluginsEnabled
Enables or disables plugins on the web pages loaded in the browser.
Public propertyPreferredColorScheme
Gets or sets the preferred color scheme for the web content in the browser.
Public propertyScrollbarsHidden
Hides or shows scrollbars on the web pages.
Public propertyTransparentBackgroundEnabled
Enables or disables transparent background on the web pages.By default, the background is always opaque.
Public propertyWebRtcIpHandlingPolicy
Gets or sets the WebRTC IP handling policy for the browser.
Top
Events
  NameDescription
Public eventDisposed
Occurs when the object has been disposed.
(Inherited from IAutoDisposable.)
Top
See Also