Click or drag to resize

CefSharpSettings Properties

Version 130.1.90

The CefSharpSettings type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberConcurrentTaskExecution This influences the behavior of how methods are executed for objects registered using Register(String, Object, Boolean, BindingOptions). By default the MethodRunnerQueue queues Tasks for execution in a sequential order. A single method is exeucted at a time. Setting this property to true allows for concurrent task execution. Method calls are executed on Default (ThreadPool).
Public propertyStatic memberFocusedNodeChangedEnabled If true a message will be sent from the render subprocess to the browser when a DOM node (or no node) gets focus. The default is false.
Public propertyStatic memberProxy The proxy options that will be used for all connections If set before the call to Cef.Initialize, command line arguments will be set for you If a username and password is provided and the IPs match authentication is done automatically NOTE: GetAuthCredentials won't be called for a proxy server that matches the IP NOTE: It isn't possble to change the proxy after the call to Cef.Initialize
Public propertyStatic memberRuntimeStyle CefSharp.WinForms and CefSharp.Wpf.HwndHost ONLY! The default is to create Alloy styled browsers, those wanting to use Chrome styled browsers can set this property.
Public propertyStatic memberShutdownOnExit For the WinForms and WPF instances of ChromiumWebBrowser the relevant Application Exit event is hooked and Cef.Shutdown() called by default. Set this to false to disable this behaviour. This value needs to be set before the first instance of ChromiumWebBrowser is created as the event handlers are hooked in the static constructor for the ChromiumWebBrowser class
Public propertyStatic memberSubprocessExitIfParentProcessClosed CefSharp.BrowserSubprocess will monitor the parent process and exit if the parent process closes before the subprocess. This currently defaults to true. See https://github.com/cefsharp/CefSharp/issues/2359 for more information.
Public propertyStatic memberWcfEnabled WCF is used by JavascriptObjectRepository.Register(isAsync: false) feature for Javascript Binding. It's recomended that anyone developing a new application use the JavascriptObjectRepository.Register(isAsync: true) version which communicates using native Chromium IPC.
Public propertyStatic memberWcfTimeout Change the Close timeout for the WCF channel used by the sync JSB binding. The default value is currently 2 seconds. Changing this to Zero will result on Abort() being called on the WCF Channel Host
Top
See Also