Click or drag to resize
IWindowInfoSetAsWindowless Method
Version 55.0.0
Create the browser using windowless (off-screen) rendering. No window will be created for the browser and all rendering will occur via the CefRenderHandler interface.

Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 55.0.0.0 (55.0.0.0)
Syntax
void SetAsWindowless(
	IntPtr parentHandle,
	bool transparent
)

Parameters

parentHandle
Type: SystemIntPtr
Value will be used to identify monitor info and to act as the parent window for dialogs, context menus, etc. If not provided then the main screen monitor will be used and some functionality that requires a parent window may not function correctly.
transparent
Type: SystemBoolean
If is true a transparent background color will be used (RGBA=0x00000000). If is false the background will be white and opaque. In order to create windowless browsers the CefSettings.windowless_rendering_enabled value must be set to true.
See Also