ChromiumWebBrowserCreateBrowser Method |
Version 105.3.390
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.Wpf
Assembly:
CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 105.3.390.0 (105.3.390.0)
Syntax public bool CreateBrowser(
HwndSource parentWindowHwndSource,
Size initialSize
)
public:
bool CreateBrowser(
HwndSource^ parentWindowHwndSource,
Size initialSize
)
Parameters
- parentWindowHwndSource
- Type: System.Windows.InteropHwndSource
HwndSource for the Window that will host the browser. - initialSize
- Type: System.WindowsSize
initial size
Return Value
Type:
BooleanReturns false if browser already created, otherwise true.
See Also