ChromiumWebBrowser(HtmlString, IRequestContext) Constructor |
Version 130.1.90
Initializes a new instance of the
ChromiumWebBrowser class.
**Important** - When using this constructor the
Dock property
will default to
Fill.
Namespace: CefSharp.WinFormsAssembly: CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public ChromiumWebBrowser(
HtmlString html,
IRequestContext requestContext = null
)
public:
ChromiumWebBrowser(
HtmlString^ html,
IRequestContext^ requestContext = nullptr
)
Parameters
- html HtmlString
- html string to be initially loaded in the browser.
- requestContext IRequestContext (Optional)
- (Optional) Request context that will be used for this browser instance, if null the Global
Request Context will be used.
See Also