Click or drag to resize

ChromiumWebBrowserCreateOffscreenBrowser Method

Version 111.2.70
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: 111.2.70.0 (111.2.70.0)
Syntax
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: Boolean
bool to indicate if browser was created. If the browser has already been created then this will return false.
See Also