ChromiumWebBrowser Constructor |
Version 51.0.0
Create a new OffScreen Chromium Browser
Namespace: CefSharp.OffScreenAssembly: CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 51.0.0.0 (51.0.0.0)
Syntax public ChromiumWebBrowser(
string address = "",
BrowserSettings browserSettings = null,
RequestContext requestContext = null,
bool automaticallyCreateBrowser = true
)
public:
ChromiumWebBrowser(
String^ address = L"",
BrowserSettings^ browserSettings = nullptr,
RequestContext^ requestContext = nullptr,
bool automaticallyCreateBrowser = true
)
Parameters
- address (Optional)
- Type: SystemString
Initial address (url) to load - browserSettings (Optional)
- Type: CefSharpBrowserSettings
The browser settings to use. If null, the default settings are used. - requestContext (Optional)
- Type: CefSharpRequestContext
See RequestContext for more details. Defaults to null - automaticallyCreateBrowser (Optional)
- Type: SystemBoolean
automatically create the underlying Browser
Exceptions See Also