ChromiumWebBrowserCreateOffscreenBrowser Method |
Version 79.1.350
Create the underlying Browser instance, can be overriden to defer control creation
The browser will only be created when size > Size(0,0). If you specify a positive
size then the browser will be created, if the ActualWidth and ActualHeight
properties are in reality still 0 then you'll likely end up with a browser that
won't render.
Namespace:
CefSharp.Wpf
Assembly:
CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 76.1.90.0 (76.1.90.0)
Syntax protected virtual bool CreateOffscreenBrowser(
Size size
)
protected:
virtual bool CreateOffscreenBrowser(
Size size
)
Parameters
- size
- Type: System.WindowsSize
size of the current control, must be greater than Size(0, 0)
Return Value
Type:
Booleanbool to indicate if browser was created. If the browser has already been created then this will return false.
See Also