ChromiumWebBrowserCreateOffscreenBrowser Method |
Version 130.1.90
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.WpfAssembly: CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax protected virtual bool CreateOffscreenBrowser(
Size size
)
protected:
virtual bool CreateOffscreenBrowser(
Size size
)
Parameters
- size Size
- size of the current control, must be greater than Size(0, 0)
Return Value
Booleanbool to indicate if browser was created. If the browser has already been created then this will return false.
See Also