ChromiumWebBrowser Constructor (String, IRequestContext) |
Version 101.0.180
Initializes a new instance of the
ChromiumWebBrowser class.
**Important** - When using this constructor the
Dock property
will default to
Fill.
Namespace:
CefSharp.WinForms
Assembly:
CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax public ChromiumWebBrowser(
string address,
IRequestContext requestContext = null
)
public:
ChromiumWebBrowser(
String^ address,
IRequestContext^ requestContext = nullptr
)
Parameters
- address
- Type: SystemString
The address. - requestContext (Optional)
- Type: CefSharpIRequestContext
(Optional) Request context that will be used for this browser instance, if null the Global
Request Context will be used.
See Also