CefSharpSettingsShutdownOnExit Property |
Version 51.0.0
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
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 51.0.0.0 (51.0.0.0)
Syntax public static bool ShutdownOnExit { get; set; }
public:
static property bool ShutdownOnExit {
bool get ();
void set (bool value);
}
Property Value
Type:
BooleanSee Also