ChromiumWebBrowserCreateBrowser Method |
Version 130.1.90
Create the underlying CefBrowser instance with the specified initialSize.
This method should only be used in instances where you need the browser
to load before it's attached to the Visual Tree.
Namespace: CefSharp.WpfAssembly: CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public bool CreateBrowser(
HwndSource parentWindowHwndSource,
Size initialSize
)
public:
bool CreateBrowser(
HwndSource^ parentWindowHwndSource,
Size initialSize
)
Parameters
- parentWindowHwndSource HwndSource
- HwndSource for the Window that will host the browser.
- initialSize Size
- initial size
Return Value
BooleanReturns false if browser already created, otherwise true.
See Also