Click or drag to resize

ChromiumWebBrowserCreateOffscreenBrowser Method

Version 99.2.120
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: 99.2.120.0 (99.2.120.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